org.eclipse.emf.codegen.jet
Class JETException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.emf.common.util.DiagnosticException
              extended byorg.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

Constructor Summary
JETException(String reason)
           
JETException(String reason, Throwable exception)
          Creates a JETException with the embedded exception and the reason for throwing a JETException.
JETException(Throwable exception)
          Creates a JETException with the embedded exception.
 
Method Summary
protected static String getMessage(Throwable exception)
           
 IStatus getStatus()
           
 
Methods inherited from class org.eclipse.emf.common.util.DiagnosticException
getDiagnostic, toCoreException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

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.

Method Detail

getStatus

public IStatus getStatus()

getMessage

protected static String getMessage(Throwable exception)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.