RSE
Release 3.2

org.eclipse.rse.ui.messages
Class SystemMessageStatus

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.eclipse.core.runtime.IStatus
CANCEL, ERROR, INFO, OK, WARNING
 
Constructor Summary
SystemMessageStatus(SystemMessage message)
           
SystemMessageStatus(SystemMessageException exception)
           
 
Method Summary
 IStatus[] getChildren()
           
 int getCode()
           
 Throwable getException()
           
 String getMessage()
           
 String getPlugin()
           
 int getSeverity()
           
 SystemMessage getSystemMessage()
           
 boolean isMultiStatus()
           
 boolean isOK()
           
 boolean matches(int severityMask)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemMessageStatus

public SystemMessageStatus(SystemMessage message)

SystemMessageStatus

public SystemMessageStatus(SystemMessageException exception)
Method Detail

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.

RSE
Release 3.2

Copyright (c) IBM Corporation and others 2000, 2010. All Rights Reserved.