|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
unsw.cse.framescript.FSException
public class FSException
This exception class represents all errors that FrameScript is setup to detect and handle. All exception thrown while FrameScript is running should be wrapped by an FSException which will then be throw so it can be handled appropriately.
Constructor Summary | |
---|---|
FSException(java.lang.Exception e)
Creates a FSException to wrap an exception. |
|
FSException(java.lang.Exception e,
StackFrame frame)
Creates a FSException to wrap an exception with a variable environment. |
|
FSException(java.lang.String msg)
Creates an error with a specified message. |
|
FSException(java.lang.String msg,
StackFrame frame)
Creates an error with a specified message and a variable environment. |
Method Summary | |
---|---|
void |
dumpStack()
Dumps the variable stack for the error. |
java.lang.String |
getMessage()
|
FSException |
setParentStackFrame(StackFrame frame)
Sets the stackframe inheritence that caused the error to fire. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSException(java.lang.String msg)
msg
- the error messagepublic FSException(java.lang.String msg, StackFrame frame)
msg
- the error messageframe
- the variable environmentpublic FSException(java.lang.Exception e)
e
- the exception to be wrappedpublic FSException(java.lang.Exception e, StackFrame frame)
e
- the exception being wrappedframe
- the variable environmentMethod Detail |
---|
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public FSException setParentStackFrame(StackFrame frame) throws FSException
frame
- the new ancestor StackFrame
FSException
- thispublic void dumpStack()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |