org.eclipse.osgi.framework.adaptor
Interface StatusException


public interface StatusException

An exception my implement the StatusException interface to give more status information about the type of exception.


Field Summary
static int CODE_ERROR
          The exception is unexpected and should result in an error.
static int CODE_INFO
          The exception is for informational purposes
static int CODE_OK
          The exception is ok and expected
static int CODE_WARNING
          The exception is unexpected by may be handled, but a warning should be logged
 
Method Summary
 java.lang.Object getStatus()
          Returns the status object
 int getStatusCode()
          Returns the status code
 

Field Detail

CODE_OK

static final int CODE_OK
The exception is ok and expected

See Also:
Constant Field Values

CODE_INFO

static final int CODE_INFO
The exception is for informational purposes

See Also:
Constant Field Values

CODE_WARNING

static final int CODE_WARNING
The exception is unexpected by may be handled, but a warning should be logged

See Also:
Constant Field Values

CODE_ERROR

static final int CODE_ERROR
The exception is unexpected and should result in an error.

See Also:
Constant Field Values
Method Detail

getStatus

java.lang.Object getStatus()
Returns the status object

Returns:
the status object

getStatusCode

int getStatusCode()
Returns the status code

Returns:
the status code