org.eclipse.emf.common.util
Class DiagnosticException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.emf.common.util.DiagnosticException
All Implemented Interfaces:
java.io.Serializable

public class DiagnosticException
extends java.lang.Exception

A checked exception representing a diagnosed failure.

Diagnostic exceptions contain a diagnostic describing the cause of the exception.

See Also:
Diagnostic, Serialized Form

Field Summary
private  Diagnostic diagnostic
           
private static long serialVersionUID
           
 
Constructor Summary
DiagnosticException(Diagnostic diagnostic)
           
 
Method Summary
 Diagnostic getDiagnostic()
           
static org.eclipse.core.runtime.CoreException toCoreException(DiagnosticException exception)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

diagnostic

private Diagnostic diagnostic
Constructor Detail

DiagnosticException

public DiagnosticException(Diagnostic diagnostic)
Method Detail

getDiagnostic

public final Diagnostic getDiagnostic()

toCoreException

public static org.eclipse.core.runtime.CoreException toCoreException(DiagnosticException exception)


Copyright © 2001-2010 Eclipse Foundation. All Rights Reserved.