org.eclipse.emf.codegen.jet
Class JETException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.emf.common.util.DiagnosticException
org.eclipse.emf.codegen.jet.JETException
- All Implemented Interfaces:
- Serializable
- public class JETException
- extends DiagnosticException
Base class for all exceptions generated by the JET engine.
Makes it convienient to catch just this at the top-level.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JETException
public JETException(String reason)
JETException
public JETException(String reason,
Throwable exception)
- Creates a JETException with the embedded exception and the reason for throwing a JETException.
JETException
public JETException(Throwable exception)
- Creates a JETException with the embedded exception.
getStatus
public IStatus getStatus()
getMessage
protected static String getMessage(Throwable exception)