public class CoreExceptionStatus extends MultiStatus implements IStatus
IStatus
object that wraps an embedded CoreException.
If you need to convert a CoreException
to an IStatus
, it is
not always a good idea to use e.getStatus()
, since you would lose the stack trace. This wrapper is a
MultiStatus that embeds the given CoreException and does remember the stack
trace (in the outer status).CANCEL_STATUS, OK_STATUS
Constructor and Description |
---|
CoreExceptionStatus(CoreException cause) |
CoreExceptionStatus(CoreException cause,
String message,
Object... args) |
CoreExceptionStatus(String pluginID,
CoreException cause) |
CoreExceptionStatus(String pluginID,
CoreException cause,
String message,
Object... args) |
add, addAll, getChildren, isMultiStatus, merge, toString
getCode, getException, getMessage, getPlugin, getSeverity, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
public CoreExceptionStatus(String pluginID, CoreException cause, String message, Object... args)
public CoreExceptionStatus(CoreException cause)
public CoreExceptionStatus(CoreException cause, String message, Object... args)
public CoreExceptionStatus(String pluginID, CoreException cause)