Package org.apache.gravitino.exceptions
Class GravitinoRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.GravitinoRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadyExistsException
,AuthorizationPluginException
,BadRequestException
,ConnectionFailedException
,ForbiddenException
,IllegalPropertyException
,InUseException
,NonEmptyCatalogException
,NonEmptyEntityException
,NonEmptyMetalakeException
,NonEmptySchemaException
,NotFoundException
,NotInUseException
,UnauthorizedException
Base class for all Apache Gravitino runtime exceptions.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGravitinoRuntimeException
(String message) Constructs a new exception with the specified detail message.GravitinoRuntimeException
(String message, Object... args) Constructs a new exception with the specified detail message.GravitinoRuntimeException
(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
-
GravitinoRuntimeException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
GravitinoRuntimeException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.args
- the arguments to the message.
-
GravitinoRuntimeException
@FormatMethod public GravitinoRuntimeException(Throwable cause, @FormatString String message, Object... args) 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.
-