Module de.stklcode.jvault.connector
Class PermissionDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.stklcode.jvault.connector.exception.VaultConnectorException
de.stklcode.jvault.connector.exception.PermissionDeniedException
- All Implemented Interfaces:
Serializable
Exception thrown when trying to access a path the current user/token does not have permission to access.
- Since:
- 0.1
- Author:
- Stefan Kalscheuer
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new empty exception.PermissionDeniedException
(String message) Constructs a new exception with the specified detail message.PermissionDeniedException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.Constructs a new exception with the specified 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
-
PermissionDeniedException
public PermissionDeniedException()Constructs a new empty exception. -
PermissionDeniedException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message
-
PermissionDeniedException
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause
-
PermissionDeniedException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-