|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.gridlab.gat.GATInvocationException
org.gridlab.gat.CredentialExpiredException
public class CredentialExpiredException
Thrown when a credential is found, but is expired
| Constructor Summary | |
|---|---|
CredentialExpiredException(String s)
|
|
| Method Summary | |
|---|---|
void |
add(String adaptor,
String description,
Throwable t)
Adds a throwable to this NestedException, which is caused by the given adaptor |
void |
add(String adaptor,
Throwable t)
Adds a throwable to this NestedException, which is caused by the given adaptor |
String[] |
getAdaptors()
returns an array of all the adaptors that caused an exception on this NestedException |
Throwable[] |
getExceptions()
returns an array of all the throwables that are inside the nested exception |
String |
getMessage()
|
String |
getMessage(String indent)
gets the message of the NestedException, where each line of the exception is indented by the supplied indentation String. |
int |
getNrChildren()
returns the number of children of the nested exception If children of this NestedException turn out to be NestedExceptions, they are counted as just one child, so only first line children are counted. |
String |
getSuperMessage()
this method provides a way to access the getMessage of the Exception class |
void |
printStackTrace()
prints the stack trace of the NestedException. |
void |
printStackTrace(PrintStream stream)
prints the stack trace of the NestedException to the given stream |
void |
printStackTrace(PrintStream stream,
String indent)
prints the stack trace of the NestedException to the given stream, where each line of the exception is indented by the supplied indentation String. |
void |
printStackTrace(PrintWriter writer)
prints the stacktrace of the NestedException to the given writer. |
void |
printStackTrace(PrintWriter writer,
String indent)
prints the stacktrace of the NestedException to the given writer, where each line of the exception is indented by the supplied indentation String. |
void |
printStackTrace(String indent)
prints the stack trace of the NestedException, where each line of the exception is indented by the supplied indentation String. |
String |
toString()
|
String |
toString(String indent)
gets the String representation of the NestedException, where each line of the exception is indented by the supplied indentation String. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CredentialExpiredException(String s)
| Method Detail |
|---|
public void add(String adaptor,
Throwable t)
adaptor - the adaptor that caused the throwablet - the throwable that is caused by the adaptor
public void add(String adaptor,
String description,
Throwable t)
adaptor - the adaptor that caused the throwabledescription - the description of the activity that caused this exceptiont - the throwable that is caused by the adaptorpublic String getMessage()
getMessage in class Throwablepublic String getMessage(String indent)
indent -
public String toString()
toString in class Throwablepublic String getSuperMessage()
public String toString(String indent)
indent -
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(String indent)
indent - indentation of written textpublic void printStackTrace(PrintStream stream)
printStackTrace in class Throwablestream - destination of the stacktracepublic void printStackTrace(PrintWriter writer)
printStackTrace in class Throwablewriter - destination of the stacktrace
public void printStackTrace(PrintStream stream,
String indent)
stream - destination of the stacktraceindent - indentation of written text
public void printStackTrace(PrintWriter writer,
String indent)
writer - destination of the stacktraceindent - indentation of written textpublic Throwable[] getExceptions()
public String[] getAdaptors()
public int getNrChildren()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||