Package org.eclipse.m2m.atl.engine.emfvm
Class VMException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.m2m.atl.common.ATLExecutionException
-
- org.eclipse.m2m.atl.engine.emfvm.VMException
-
- All Implemented Interfaces:
java.io.Serializable
public class VMException extends ATLExecutionException
Exceptions thrown by the VM.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VMException(AbstractStackFrame frame, java.lang.String message)
Creates a VM exception with the given message.VMException(AbstractStackFrame frame, java.lang.String message, java.lang.Throwable cause)
Creates a VM exception with the given message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
printStackTrace(java.io.PrintStream s)
void
printStackTrace(java.io.PrintWriter s)
-
-
-
Constructor Detail
-
VMException
public VMException(AbstractStackFrame frame, java.lang.String message)
Creates a VM exception with the given message.- Parameters:
frame
- the frame contextmessage
- the message
-
VMException
public VMException(AbstractStackFrame frame, java.lang.String message, java.lang.Throwable cause)
Creates a VM exception with the given message and cause.- Parameters:
frame
- the frame contextmessage
- the messagecause
- the cause
-
-
Method Detail
-
printStackTrace
public void printStackTrace(java.io.PrintStream s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintStream)
-
printStackTrace
public void printStackTrace(java.io.PrintWriter s)
- Overrides:
printStackTrace
in classjava.lang.Throwable
- See Also:
Throwable.printStackTrace(java.io.PrintWriter)
-
-