Package org.eclipse.m2m.atl.emftvm.util
Class VMException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.m2m.atl.emftvm.util.VMException
-
- All Implemented Interfaces:
java.io.Serializable
public class VMException extends java.lang.RuntimeExceptionEMFTVM runtime exception class.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VMException(StackFrame frame)Creates a newVMException.VMException(StackFrame frame, java.lang.String message)Creates a newVMException.VMException(StackFrame frame, java.lang.String message, java.lang.Throwable cause)Creates a newVMException.VMException(StackFrame frame, java.lang.Throwable cause)Creates a newVMException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackFramegetFrame()Returns the currentStackFrame.java.lang.StringtoString()
-
-
-
Constructor Detail
-
VMException
public VMException(StackFrame frame)
Creates a newVMException.- Parameters:
frame- the currentStackFrame
-
VMException
public VMException(StackFrame frame, java.lang.String message)
Creates a newVMException.- Parameters:
frame- the currentStackFramemessage- the error message
-
VMException
public VMException(StackFrame frame, java.lang.Throwable cause)
Creates a newVMException.- Parameters:
frame- the currentStackFramecause- the nested exception
-
VMException
public VMException(StackFrame frame, java.lang.String message, java.lang.Throwable cause)
Creates a newVMException.- Parameters:
frame- the currentStackFramemessage- the error messagecause- the nested exception
-
-
Method Detail
-
getFrame
public StackFrame getFrame()
Returns the currentStackFrame.- Returns:
- the frame
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
-