org.myskua.sac.client
Class SacClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.myskua.sac.client.SacClientException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SacClientConnectionException, SacClientTargetException

public class SacClientException
extends java.lang.Exception

An exception for when things go wrong communicating with a SAC or MetaSAC.

Author:
Kona Andrews, SKUA Project, kea@roe.ac.uk
See Also:
Serialized Form

Constructor Summary
SacClientException(java.lang.String message)
          This constructor should not be used when catching and rethrowing exceptions, only when generating fresh exceptions.
SacClientException(java.lang.String message, java.lang.Throwable cause)
          Constructor taking the cause of the error (an exception/error) and a message describing the context
SacClientException(java.lang.Throwable cause)
          Convenience constructor that just takes the cause of the error
 
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

SacClientException

public SacClientException(java.lang.String message,
                          java.lang.Throwable cause)
Constructor taking the cause of the error (an exception/error) and a message describing the context


SacClientException

public SacClientException(java.lang.Throwable cause)
Convenience constructor that just takes the cause of the error


SacClientException

public SacClientException(java.lang.String message)
This constructor should not be used when catching and rethrowing exceptions, only when generating fresh exceptions.