IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sib.exception
Class SIMessageParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.ibm.websphere.sib.exception.SIErrorException
                  extended by com.ibm.websphere.sib.exception.SIMessageParseException
All Implemented Interfaces:
java.io.Serializable

public class SIMessageParseException
extends SIErrorException

SIMessageParseException is used when the system needs to throw an unchecked exception to indicate a parse failure. The other (checked) SIException classes should be used where possible.

This exception does not use any new reason code or inserts, so it inherits the SIRCConstants.SIRC0001_DELIVERY_ERROR behaviour from SIErrorException.

See Also:
Serialized Form

Constructor Summary
SIMessageParseException(java.lang.String message)
          Constructor for when the Exception is to be thrown for a reason other than that an Exception has been caught during the parse.
SIMessageParseException(java.lang.String message, java.lang.Throwable cause)
          Constructor for when the Exception is to be thrown because another Exception has been caught during the copy and additional information is to be included.
SIMessageParseException(java.lang.Throwable cause)
          Constructor for when the Exception is to be thrown because another Exception has been caught.
 
Method Summary
 
Methods inherited from class com.ibm.websphere.sib.exception.SIErrorException
getExceptionInserts, getExceptionReason
 
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
 

Constructor Detail

SIMessageParseException

public SIMessageParseException(java.lang.Throwable cause)
Constructor for when the Exception is to be thrown because another Exception has been caught.

Parameters:
cause - The original Throwable which has caused this to be thrown.

SIMessageParseException

public SIMessageParseException(java.lang.String message)
Constructor for when the Exception is to be thrown for a reason other than that an Exception has been caught during the parse.

Parameters:
message - A String giving information about the problem which caused this to be thrown.

SIMessageParseException

public SIMessageParseException(java.lang.String message,
                               java.lang.Throwable cause)
Constructor for when the Exception is to be thrown because another Exception has been caught during the copy and additional information is to be included.

Parameters:
message - A String giving information about the problem which caused this to be thrown.
cause - The original Throwable which has caused this to be thrown.

IBM WebSphere Application ServerTM
Release 8