Package org.apache.gravitino.exceptions
Class NoSuchEntityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.NoSuchEntityException
- All Implemented Interfaces:
Serializable
This exception is thrown when an entity is not found.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The no such entity message for the exception. -
Constructor Summary
ConstructorsConstructorDescriptionNoSuchEntityException
(String message, Object... args) Constructs a new NoSuchEntityException.NoSuchEntityException
(Throwable cause, String message, Object... args) Constructs a new NoSuchEntityException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NO_SUCH_ENTITY_MESSAGE
The no such entity message for the exception.- See Also:
-
-
Constructor Details
-
NoSuchEntityException
Constructs a new NoSuchEntityException.- Parameters:
message
- The detail message.args
- The argument of the formatted message.
-
NoSuchEntityException
@FormatMethod public NoSuchEntityException(Throwable cause, @FormatString String message, Object... args) Constructs a new NoSuchEntityException.- Parameters:
message
- The detail message.cause
- The cause of the exception.args
- The argument of the formatted message.
-