Package org.apache.gravitino.exceptions
Class IllegalRoleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.gravitino.exceptions.IllegalRoleException
- All Implemented Interfaces:
Serializable
An exception thrown when a role is invalid.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new exception with the specified detail message and cause.IllegalRoleException
(String message, Object... args) Constructs a new exception with the specified detail message.IllegalRoleException
(Throwable cause) Constructs a new exception with the specified cause.IllegalRoleException
(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
-
IllegalRoleException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.args
- the arguments to the message.
-
IllegalRoleException
@FormatMethod public IllegalRoleException(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.
-
IllegalRoleException
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause.
-
IllegalRoleException
public IllegalRoleException()Constructs a new exception with the specified detail message and cause.
-