Package org.apache.gravitino.exceptions
Class RESTException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.RESTException
- All Implemented Interfaces:
Serializable
An exception thrown when a REST request fails.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRESTException
(String message, Object... args) Constructs a new exception with the specified detail message.RESTException
(Throwable cause, String message, Object... args) Constructs a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RESTException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.args
- the arguments to the message.
-
RESTException
Constructs a new exception with the specified detail message and cause.- Parameters:
cause
- the cause.message
- the detail message.args
- the arguments to the message.
-