Class InvalidRequestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.gcube.common.clients.exceptions.ServiceException
-
- org.gcube.common.clients.exceptions.InvalidRequestException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalScopeException,UnsupportedOperationException,UnsupportedRequestException
@Unrecoverable public class InvalidRequestException extends ServiceException
AServiceExceptionraised when client requests are invalid for services.- Author:
- Fabio Simeoni
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-