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.RuntimeException
EMFTVM 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 StackFrame
getFrame()
Returns the currentStackFrame
.java.lang.String
toString()
-
-
-
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 currentStackFrame
message
- the error message
-
VMException
public VMException(StackFrame frame, java.lang.Throwable cause)
Creates a newVMException
.- Parameters:
frame
- the currentStackFrame
cause
- the nested exception
-
VMException
public VMException(StackFrame frame, java.lang.String message, java.lang.Throwable cause)
Creates a newVMException
.- Parameters:
frame
- the currentStackFrame
message
- 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:
toString
in classjava.lang.Throwable
-
-