|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Status
org.eclipse.core.runtime.MultiStatus
com.ibm.xtools.patterns.framework.PatternsFrameworkStatus
The patterns framework status class specializes Multistatus to provide patterns framework specific constructors and specific behavior for computing messages based on child status.
Field Summary | |
static int |
UNEXPECTED_EXCEPTION_ERROR
Status code indicating that an unexpected exception occurred. |
Fields inherited from class org.eclipse.core.runtime.Status |
CANCEL_STATUS, OK_STATUS |
Fields inherited from interface org.eclipse.core.runtime.IStatus |
CANCEL, ERROR, INFO, OK, WARNING |
Constructor Summary | |
PatternsFrameworkStatus()
Construct a default OK status. |
|
PatternsFrameworkStatus(int severity,
int code,
String message)
Construct a status with specific settings. |
|
PatternsFrameworkStatus(int severity,
int code,
String message,
Throwable exception)
Construct a status with specific settings. |
Method Summary | |
static void |
addUnexpectedExceptionStatus(Throwable throwable,
MultiStatus status)
Construct a status that captures an unexpected exception and add the status to the given multistatus. |
String |
getMessage()
|
static IStatus |
UnexpectedExceptionStatus(Throwable throwable)
Construct and return a status that captures an unexpected exception. |
Methods inherited from class org.eclipse.core.runtime.MultiStatus |
add, addAll, getChildren, isMultiStatus, merge, toString |
Methods inherited from class org.eclipse.core.runtime.Status |
getCode, getException, getPlugin, getSeverity, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UNEXPECTED_EXCEPTION_ERROR
Constructor Detail |
public PatternsFrameworkStatus()
public PatternsFrameworkStatus(int severity, int code, String message)
severity
- The severity of the patterns framework status.code
- The patterns framework specific status code.message
- The text message associated with the statuspublic PatternsFrameworkStatus(int severity, int code, String message, Throwable exception)
severity
- The severity of the patterns framework status.code
- The patterns framework specific status code.message
- The text message associated with the statusexception
- The exception associated with the status.Method Detail |
public String getMessage()
public static IStatus UnexpectedExceptionStatus(Throwable throwable)
throwable
- The unexpected exception
public static void addUnexpectedExceptionStatus(Throwable throwable, MultiStatus status)
throwable
- The unexpected exceptionstatus
- The status to which the constructed status
should be added
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.