org.eclipse.rse.ui.messages
Class SystemMessageStatus
java.lang.Object
org.eclipse.rse.ui.messages.SystemMessageStatus
-
All Implemented Interfaces:
-
IStatus
-
public class SystemMessageStatus
- extends
Object
- implements
IStatus
A SystemMessageStatus object encapsulates a SystemMessage or a
SystemMessageException as a Status object. Could be used when creating a
CoreException from a SystemMessageException.
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
SystemMessageStatus
public SystemMessageStatus(
SystemMessage message)
SystemMessageStatus
public SystemMessageStatus(
SystemMessageException exception)
isOK
public boolean isOK()
-
-
Specified by:
-
isOK
in interface
IStatus
-
getPlugin
public
String getPlugin()
-
-
Specified by:
-
getPlugin
in interface
IStatus
-
getChildren
public
IStatus[] getChildren()
-
-
Specified by:
-
getChildren
in interface
IStatus
-
getCode
public int getCode()
-
-
Specified by:
-
getCode
in interface
IStatus
-
getException
public
Throwable getException()
-
-
Specified by:
-
getException
in interface
IStatus
-
getMessage
public
String getMessage()
-
-
Specified by:
-
getMessage
in interface
IStatus
-
getSeverity
public int getSeverity()
-
-
Specified by:
-
getSeverity
in interface
IStatus
-
isMultiStatus
public boolean isMultiStatus()
-
-
Specified by:
-
isMultiStatus
in interface
IStatus
-
matches
public boolean matches(int severityMask)
-
-
Specified by:
-
matches
in interface
IStatus
-
getSystemMessage
public
SystemMessage getSystemMessage()
-
-
-
Returns:
- the SystemMessage encapsulated by this status.
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.