Package org.opentcs.access
Class CredentialsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentcs.access.KernelRuntimeException
org.opentcs.access.CredentialsException
- All Implemented Interfaces:
Serializable
Thrown when there are insufficient user permissions to perform an operation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a CredentialsException with no detail message.CredentialsException(String message) Constructs a CredentialsException with the specified detail message.CredentialsException(String message, Throwable cause) Constructs a CredentialsException with the specified detail message and cause.CredentialsException(Throwable cause) Constructs a CredentialsException with the specified cause and a detail message of(cause == null ? null : cause.toString())(which typically contains the class and detail message ofcause). -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CredentialsException
public CredentialsException()Constructs a CredentialsException with no detail message. -
CredentialsException
Constructs a CredentialsException with the specified detail message.- Parameters:
message- The detail message.
-
CredentialsException
Constructs a CredentialsException with the specified detail message and cause.- Parameters:
message- The detail message.cause- The exception's cause.
-
CredentialsException
Constructs a CredentialsException with the specified cause and a detail message of(cause == null ? null : cause.toString())(which typically contains the class and detail message ofcause).- Parameters:
cause- The exception's cause.
-