Class ServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gcube.common.clients.exceptions.ServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DiscoveryException, InvalidRequestException, NoSuchEndpointException

public class ServiceException extends RuntimeException
An exceptions that occurs in the attempt to communicate with service endpoints.
Author:
Fabio Simeoni
See Also:
  • Constructor Details

    • ServiceException

      public ServiceException()
      Creates an instance.
    • ServiceException

      public ServiceException(String msg)
      Creates an instance with a given message.
      Parameters:
      msg - the message
    • ServiceException

      public ServiceException(Throwable cause)
      Creates an instance from an underlying cause.
      Parameters:
      cause - the cause
    • ServiceException

      public ServiceException(String msg, Throwable cause)
      Creates an instance with a given message and an underlying cause.
      Parameters:
      msg - the message
      cause - the cause