Remote Systems
v6.4.1

com.ibm.etools.systems.core.messages
Class SystemMessageException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.etools.systems.core.messages.SystemMessageException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RemoteFileException

public class SystemMessageException
extends Exception

Encapsulates a system message

See Also:
Serialized Form

Field Summary
static String Copyright
           
 
Constructor Summary
protected SystemMessageException(String msg)
          Constructor
  SystemMessageException(SystemMessage msg)
          Constructor
 
Method Summary
 SystemMessage getSystemMessage()
          Return the SystemMessage we wrap
 boolean hasLongID(String longMessageID)
          Tests if the SystemMessage encapsulated by this exception has a long id equal to the argument.
 void setSystemMessage(SystemMessage msg)
          Set the SystemMessage being wrapped
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SystemMessageException

protected SystemMessageException(String msg)
Constructor

Parameters:
msg - - a message to wrap.

SystemMessageException

public SystemMessageException(SystemMessage msg)
Constructor

Parameters:
msg - - a system message to wrap.
Method Detail

getSystemMessage

public SystemMessage getSystemMessage()
Return the SystemMessage we wrap


hasLongID

public boolean hasLongID(String longMessageID)
Tests if the SystemMessage encapsulated by this exception has a long id equal to the argument.

Parameters:
longMessageID - the String containing the message id to test.
Returns:
true if the long message id of the message is equal to the supplied message id.

setSystemMessage

public void setSystemMessage(SystemMessage msg)
Set the SystemMessage being wrapped


Remote Systems
v6.4.1

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.