com.dynalivery.saffron.client.exception
Class SaffronServerUnavailableException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.dynalivery.saffron.client.exception.SaffronClientException
              extended bycom.dynalivery.saffron.client.exception.SaffronServerNetworkException
                  extended bycom.dynalivery.saffron.client.exception.SaffronServerUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class SaffronServerUnavailableException
extends SaffronServerNetworkException

This exception will be thrown if we can't open a socket to the Saffron server on using the specified hostname and port number.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dynalivery.saffron.client.exception.SaffronClientException
detail
 
Constructor Summary
SaffronServerUnavailableException(java.lang.String msg)
          Constructs a SaffronServerUnavailableException with a detail message.
SaffronServerUnavailableException(java.lang.String msg, java.lang.Throwable detail)
          Constructs a SaffronServerUnavailableException with a detail message.
 
Methods inherited from class com.dynalivery.saffron.client.exception.SaffronClientException
toString
 
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
 

Constructor Detail

SaffronServerUnavailableException

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

Parameters:
msg - the detail message describing the exception.

SaffronServerUnavailableException

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

Parameters:
msg - the detail message describing the exception.
detail - the original Throwable caught by the client