com.genesyslab.omsdk.commons.exception
Class ServiceNotConnectedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.genesyslab.omsdk.commons.exception.OMSDKRuntimeException
                  extended bycom.genesyslab.omsdk.commons.exception.ServiceNotConnectedException
All Implemented Interfaces:
java.io.Serializable

public class ServiceNotConnectedException
extends OMSDKRuntimeException

Exception thrown when a request fails because the service is no longer connected.

This occurs when the service was disabled, the connection lost, and so on.

Since:
7.1.000.00
See Also:
Serialized Form

Constructor Summary
ServiceNotConnectedException(ServiceType serviceType)
           
 
Method Summary
 ServiceType getServiceType()
          Returns the type of service responsible for this exception.
 
Methods inherited from class com.genesyslab.omsdk.commons.exception.OMSDKRuntimeException
getExceptionCause
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceNotConnectedException

public ServiceNotConnectedException(ServiceType serviceType)
Method Detail

getServiceType

public ServiceType getServiceType()
Returns the type of service responsible for this exception.

Returns:
the type of the service which caused the exception