uk.org.ogsadai.client.toolkit.exception
Class ServiceCommsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--uk.org.ogsadai.client.toolkit.exception.DAIException
                    |
                    +--uk.org.ogsadai.client.toolkit.exception.ServiceCommsException
All Implemented Interfaces:
java.io.Serializable

public class ServiceCommsException
extends DAIException

Exception thrown when errors occur communicating with a service.

Author:
The OGSA-DAI Project Team
See Also:
Serialized Form

Constructor Summary
ServiceCommsException(java.lang.String handle, java.lang.Exception exception, org.apache.log4j.Logger logger)
          Constructs a new ServiceCommsException
ServiceCommsException(java.lang.String handle, java.lang.String message, org.apache.log4j.Logger logger)
          Constructs a new ServiceCommsException
 
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

ServiceCommsException

public ServiceCommsException(java.lang.String handle,
                             java.lang.Exception exception,
                             org.apache.log4j.Logger logger)
Constructs a new ServiceCommsException

Parameters:
handle - handle of service to which the communication failed
exception - inner exception
logger - logger at which to log the creation of this exception

ServiceCommsException

public ServiceCommsException(java.lang.String handle,
                             java.lang.String message,
                             org.apache.log4j.Logger logger)
Constructs a new ServiceCommsException

Parameters:
handle - handle of service to which the communication failed
message - message describing what has gone wrong
logger - logger at which to log the creation of this exception