Package org.springframework.vault
Class VaultException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.vault.VaultException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SecretNotFoundException
,VaultLoginException
,VaultPropertySourceNotFoundException
,VaultSessionManagerException
,VaultTokenLookupException
The Spring Vault specific
NestedRuntimeException
implementation.- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionVaultException
(String msg) Create aVaultException
with the specified detail message.VaultException
(String msg, Throwable cause) Create aVaultException
with the specified detail message and nested exception. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
VaultException
Create aVaultException
with the specified detail message.- Parameters:
msg
- the detail message.
-
VaultException
Create aVaultException
with the specified detail message and nested exception.- Parameters:
msg
- the detail message.cause
- the nested exception.
-