Class KeyImportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.revetsec.RevetsecException
com.revetsec.KeyImportException
- All Implemented Interfaces:
Serializable
A fixed-diagnostic key import or explicit pair-check failure. No input, key or provider message, cause or
suppressed exception is retained. Only Revetsec constructs these exceptions.
- Since:
- 1.0.0
- Author:
- Mark Allen
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumFixed reasons; later versions may add reasons, so application switches need a default branch. -
Method Summary
Modifier and TypeMethodDescriptionReturns the fixed failure reason.Methods inherited from class RevetsecException
getCategory, isTemporaryConditionModifier and TypeMethodDescriptionfinal @NonNull ErrorCategoryReturns the category of this failure.Returns whether this failure is classified as a temporary condition.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getReason
Returns the fixed failure reason.- Returns:
- the reason
- Since:
- 1.0.0
-