|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.eclipse.core.runtime.CoreException
edu.cmu.sei.osate.workspace.AadlModelException
public class AadlModelException
A checked exception representing a failure in the Java model. Java model exceptions contain a Java-specific status object describing the cause of the exception.
This class is not intended to be subclassed by clients. Instances of this class are automatically created by the Java model when problems arise, so there is generally no need for clients to create instances.
IAadlModelStatus
,
Serialized FormConstructor Summary | |
---|---|
AadlModelException(org.eclipse.core.runtime.CoreException exception)
Creates a Java model exception for the given CoreException . |
|
AadlModelException(IAadlModelStatus status)
Creates a Java model exception for the given Java-specific status object. |
Method Summary | |
---|---|
java.lang.Throwable |
getException()
Returns the underlying Throwable that caused the failure. |
void |
printStackTrace(java.io.PrintStream output)
Prints this exception's stack trace to the given print stream. |
void |
printStackTrace(java.io.PrintWriter output)
Prints this exception's stack trace to the given print writer. |
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.core.runtime.CoreException |
---|
getStatus, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AadlModelException(org.eclipse.core.runtime.CoreException exception)
CoreException
.
Equivalent to
JavaModelException(exception,IJavaModelStatusConstants.CORE_EXCEPTION
.
exception
- the CoreException
public AadlModelException(IAadlModelStatus status)
status
- the Java-specific status objectMethod Detail |
---|
public java.lang.Throwable getException()
Throwable
that caused the failure.
Throwable
, or null
if the direct case of the failure was at the Java model layerpublic void printStackTrace(java.io.PrintStream output)
printStackTrace
in class org.eclipse.core.runtime.CoreException
output
- the print streampublic void printStackTrace(java.io.PrintWriter output)
printStackTrace
in class org.eclipse.core.runtime.CoreException
output
- the print writerpublic java.lang.String toString()
toString
in class java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |