- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.helidon.integrations.common.rest.ApiException
-
- io.helidon.integrations.common.rest.ApiRestException
-
- io.helidon.integrations.vault.VaultRestException
-
- All Implemented Interfaces:
Serializable
public class VaultRestException extends ApiRestException
Vault runtime exception.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VaultRestException.Builder
Fluent API builder forVaultRestException
used byRestApiBase
.-
Nested classes/interfaces inherited from class io.helidon.integrations.common.rest.ApiRestException
ApiRestException.BaseBuilder<B extends ApiRestException.BaseBuilder<B>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VaultRestException.Builder
builder()
A builder for Vault exception.void
printStackTrace(PrintStream s)
List<String>
vaultErrors()
Errors from Vault REST API.-
Methods inherited from class io.helidon.integrations.common.rest.ApiRestException
apiSpecificError, headers, requestId, status
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
builder
public static VaultRestException.Builder builder()
A builder for Vault exception.- Returns:
- a new builder
-
vaultErrors
public List<String> vaultErrors()
Errors from Vault REST API.- Returns:
- errors, or empty list
-
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTrace
in classThrowable
-
-