com.dynalivery.saffron.client.exception
Class SaffronClientException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.dynalivery.saffron.client.exception.SaffronClientException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthenticationException, InvalidParameterException, SaffronSecurityException, SaffronServerNetworkException

public class SaffronClientException
extends java.lang.Exception
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 java.lang.Throwable detail
           
 
Constructor Summary
SaffronClientException(java.lang.String msg)
          Constructs a SaffronClientException with a detail message.
SaffronClientException(java.lang.String msg, java.lang.Throwable detail)
          Constructs a SaffronClientException with a detail message.
 
Method Summary
 java.lang.String toString()
          Override toString method to display detail exception message
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

detail

public java.lang.Throwable detail
Constructor Detail

SaffronClientException

public SaffronClientException(java.lang.String msg)
Constructs a SaffronClientException with a detail message.

Parameters:
msg - the detail message describing the Saffron client exception.

SaffronClientException

public SaffronClientException(java.lang.String msg,
                              java.lang.Throwable detail)
Constructs a SaffronClientException with a detail message.

Parameters:
msg - the detail message describing the Saffron client exception.
detail - the original Throwable caught by the EJB client
Method Detail

toString

public java.lang.String toString()
Override toString method to display detail exception message

Returns:
descriptive string