com.ibm.websphere.sib.exception

Class SIMessageParseException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjava.lang.RuntimeException
  5. extended bycom.ibm.websphere.sib.exception.SIErrorException
  6. extended bycom.ibm.websphere.sib.exception.SIMessageParseException
All implemented interfaces:
java.io.Serializable

  1. public class SIMessageParseException
  2. 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

Constructor and Description
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

  1. 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

  1. 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

  1. public SIMessageParseException( java.lang.String message,
  2. 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.