org.jboss.soa.esb.couriers
Class CourierException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jboss.soa.esb.BaseException
              extended by org.jboss.soa.esb.couriers.CourierException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CourierMarshalUnmarshalException, CourierServiceBindException, CourierTransportException, FaultMessageException

public class CourierException
extends BaseException

General Courier exception. Consider this like SystemException. Other more specific exceptions will be derived from it. Most CourierExceptions are for configuration problems. Note: to preserve existing signatures. Note: an alternative approach would be similar to SQLException or XAException with specific error codes.

Since:
Version 4.0
Author:
schifest@heuristica.com.ar
See Also:
Serialized Form

Constructor Summary
CourierException(java.lang.String message)
          Construct an exception instance.
CourierException(java.lang.String message, java.lang.Throwable cause)
          Construct an exception instance.
CourierException(java.lang.Throwable cause)
          Construct an exception instance.
 
Method Summary
 
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

CourierException

public CourierException(java.lang.String message)
Construct an exception instance.

Parameters:
message - Exception message.

CourierException

public CourierException(java.lang.String message,
                        java.lang.Throwable cause)
Construct an exception instance.

Parameters:
message - Exception message.
cause - Exception cause.

CourierException

public CourierException(java.lang.Throwable cause)
Construct an exception instance.

Parameters:
cause - Exception cause.