Class DiagnosticException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.emf.edapt.internal.migration.DiagnosticException
-
- All Implemented Interfaces:
Serializable
public class DiagnosticException extends Exception
Exception that encapsulates constraint violations.- Since:
- 1.1
- Version:
- $Rev$
- Author:
- herrmama, $Author$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiagnosticException(String message, org.eclipse.emf.common.util.Diagnostic diagnostic)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.util.Diagnostic
getDiagnostic()
Get the diagnostic.String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DiagnosticException
public DiagnosticException(String message, org.eclipse.emf.common.util.Diagnostic diagnostic)
Constructor.
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getDiagnostic
public org.eclipse.emf.common.util.Diagnostic getDiagnostic()
Get the diagnostic.
-
-