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

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.InvalidResultException
All Implemented Interfaces:
Serializable

public class InvalidResultException
extends RuntimeException

Raised by DiscoveryClients for result parsing errors.

Author:
Fabio Simeoni
See Also:
Serialized Form

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

InvalidResultException

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

Parameters:
msg - the message

InvalidResultException

public InvalidResultException(Throwable cause)
Creates an instance with a given cause.

Parameters:
cause - the cause

InvalidResultException

public InvalidResultException(String msg,
                              Throwable cause)
Creates an instance with a given message and a given cause.

Parameters:
msg - the message
cause - the cause


Copyright © 2013. All Rights Reserved.