com.ibm.etools.systems.core.ui.messages
Class SystemMessageStatus
java.lang.Object
com.ibm.etools.systems.core.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 © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.