com.dynalivery.saffron.client.exception
Class UnexpectedServerException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.dynalivery.saffron.client.exception.UnexpectedServerException
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedServerException
extends java.lang.RuntimeException
implements java.io.Serializable

A public class to return server exceptions

See Also:
Serialized Form

Field Summary
 java.lang.Throwable detail
           
 
Constructor Summary
UnexpectedServerException(java.lang.String msg, java.lang.Throwable detail)
          Constructs an UnexpectedServerException 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

UnexpectedServerException

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

Parameters:
msg - the detail message describing the authentication 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