|
||||||||||
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
org.eclipse.core.internal.resources.ResourceException
public class ResourceException
A checked exception representing a failure.
Resource exceptions contain a status object describing the cause of the exception, and optionally the path of the resource where the failure occurred.
IStatus
,
Serialized FormConstructor Summary | |
---|---|
ResourceException(int code,
org.eclipse.core.runtime.IPath path,
java.lang.String message,
java.lang.Throwable exception)
|
|
ResourceException(org.eclipse.core.runtime.IStatus status)
Constructs a new exception with the given status object. |
Method Summary | |
---|---|
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(java.io.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(java.io.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 org.eclipse.core.runtime.CoreException |
---|
getCause, getStatus |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourceException(int code, org.eclipse.core.runtime.IPath path, java.lang.String message, java.lang.Throwable exception)
public ResourceException(org.eclipse.core.runtime.IStatus status)
status
- the status object to be associated with this exceptionIStatus
Method Detail |
---|
public void printStackTrace()
printStackTrace
in class org.eclipse.core.runtime.CoreException
public void printStackTrace(java.io.PrintStream output)
printStackTrace
in class org.eclipse.core.runtime.CoreException
public void printStackTrace(java.io.PrintWriter output)
printStackTrace
in class org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |