org.gcube.data.tmf.api.exceptions
Class InvalidRequestException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.gcube.data.tmf.api.exceptions.InvalidRequestException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UnsupportedOperationException, UnsupportedRequestException

public class InvalidRequestException
extends RuntimeException

A RuntimeException raised when client requests are invalid for services.

Author:
Fabio Simeoni
See Also:
Serialized Form

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

InvalidRequestException

public InvalidRequestException()
Creates an instance.


InvalidRequestException

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

Parameters:
msg - the message

InvalidRequestException

public InvalidRequestException(Throwable cause)
Creates an instance from an underlying cause.

Parameters:
cause - the cause

InvalidRequestException

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

Parameters:
msg - the message
cause - the cause


Copyright © 2013. All Rights Reserved.