org.gcube.resources.discovery.client.api
Class DiscoveryException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gcube.resources.discovery.client.api.DiscoveryException
All Implemented Interfaces:
Serializable

public class DiscoveryException
extends RuntimeException

Raised when services endpoints cannot be discovered.

Author:
Fabio Simeoni
See Also:
Serialized Form

Constructor Summary
DiscoveryException(String msg)
          Creates an instance with a message.
DiscoveryException(String msg, Throwable cause)
          Creates an instance from a message and a cause.
DiscoveryException(Throwable cause)
          Creates an instance from a cause.
 
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

DiscoveryException

public DiscoveryException(String msg)
Creates an instance with a message.

Parameters:
msg - the message

DiscoveryException

public DiscoveryException(Throwable cause)
Creates an instance from a cause.

Parameters:
cause - the cause

DiscoveryException

public DiscoveryException(String msg,
                          Throwable cause)
Creates an instance from a message and a cause.

Parameters:
msg - the message
cause - the cause


Copyright © 2013. All Rights Reserved.