org.eclipse.emf.common.util
Class DiagnosticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.emf.common.util.DiagnosticException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JETException
- public class DiagnosticException
- extends Exception
A checked exception representing a diagnosed failure.
Diagnostic exceptions contain a diagnostic describing the cause of the exception.
- See Also:
Diagnostic
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DiagnosticException
public DiagnosticException(Diagnostic diagnostic)
getDiagnostic
public final Diagnostic getDiagnostic()
toCoreException
public static CoreException toCoreException(DiagnosticException exception)