|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--org.eclipse.core.runtime.CoreException
A checked exception representing a failure.
Core exceptions contain a status object describing the cause of the exception.
IStatus
, Serialized FormConstructor Summary | |
CoreException(IStatus status)
Creates a new exception with the given status object. |
Method Summary | |
IStatus |
getStatus()
Returns the status object for this exception. |
void |
printStackTrace()
Prints a stack trace out for the exception, and any nested exception that it may have embedded in its Status object. |
void |
printStackTrace(PrintStream output)
Prints a stack trace out for the exception, and any nested exception that it may have embedded in its Status object. |
void |
printStackTrace(PrintWriter output)
Prints a stack trace out for the exception, and any nested exception that it may have embedded in its Status object. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CoreException(IStatus status)
status
- the status object to be associated with this exceptionMethod Detail |
public final IStatus getStatus()
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream output)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter output)
printStackTrace
in class Throwable
|
Eclipse Platform 2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |