|
||||||||||
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.GATObjectCreationException
public class GATObjectCreationException
This exception is thrown when the GAT engine cannot instantiate a gat object.
Constructor Summary | |
---|---|
GATObjectCreationException()
|
|
GATObjectCreationException(String s)
|
|
GATObjectCreationException(String adaptor,
Throwable t)
|
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 GATObjectCreationException(String s)
public GATObjectCreationException()
public GATObjectCreationException(String adaptor, Throwable t)
Method Detail |
---|
public void add(String adaptor, Throwable t)
adaptor
- the adaptor that caused the throwablet
- the throwable that is caused by the adaptorpublic 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 Throwable
public String getMessage(String indent)
indent
-
public String toString()
toString
in class Throwable
public String getSuperMessage()
public String toString(String indent)
indent
-
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(String indent)
indent
- indentation of written textpublic void printStackTrace(PrintStream stream)
printStackTrace
in class Throwable
stream
- destination of the stacktracepublic void printStackTrace(PrintWriter writer)
printStackTrace
in class Throwable
writer
- destination of the stacktracepublic void printStackTrace(PrintStream stream, String indent)
stream
- destination of the stacktraceindent
- indentation of written textpublic 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 |