Class VaultTokenLookupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.vault.VaultException
org.springframework.vault.authentication.VaultTokenLookupException
- All Implemented Interfaces:
Serializable
Exception thrown if a token self-lookup fails via
auth/token/lookup-self
.- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate aVaultTokenLookupException
with the specified detail message.VaultTokenLookupException
(String msg, Throwable cause) Create aVaultTokenLookupException
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
-
VaultTokenLookupException
Create aVaultTokenLookupException
with the specified detail message.- Parameters:
msg
- the detail message.
-
VaultTokenLookupException
Create aVaultTokenLookupException
with the specified detail message and nested exception.- Parameters:
msg
- the detail message.cause
- the nested exception.- Since:
- 2.1
-