Class MetadataStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
zeroecho.pki.spi.store.MetadataStoreException
- All Implemented Interfaces:
Serializable
Checked metadata-store failure carrying a stable, non-sensitive category.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataStoreException(MetadataCommitResult.FailureCategory category, String safeMessage) Creates a categorized failure.MetadataStoreException(MetadataCommitResult.FailureCategory category, String safeMessage, Throwable cause) Creates a categorized failure retaining its cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MetadataStoreException
Creates a categorized failure.- Parameters:
category- stable safe categorysafeMessage- non-sensitive diagnostic message
-
MetadataStoreException
public MetadataStoreException(MetadataCommitResult.FailureCategory category, String safeMessage, Throwable cause) Creates a categorized failure retaining its cause.- Parameters:
category- stable safe categorysafeMessage- non-sensitive diagnostic messagecause- original cause
-
-
Method Details
-
category
Returns the stable safe category.- Returns:
- failure category
-