Package sop.exception
Class SOPGPException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sop.exception.SOPGPException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SOPGPException.AmbiguousInput
,SOPGPException.BadData
,SOPGPException.CannotDecrypt
,SOPGPException.CertCannotEncrypt
,SOPGPException.ExpectedText
,SOPGPException.IncompatibleOptions
,SOPGPException.IncompleteVerification
,SOPGPException.KeyCannotSign
,SOPGPException.KeyIsProtected
,SOPGPException.MissingArg
,SOPGPException.MissingInput
,SOPGPException.NoSignature
,SOPGPException.OutputExists
,SOPGPException.PasswordNotHumanReadable
,SOPGPException.UnsupportedAsymmetricAlgo
,SOPGPException.UnsupportedOption
,SOPGPException.UnsupportedProfile
,SOPGPException.UnsupportedSpecialPrefix
,SOPGPException.UnsupportedSubcommand
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception that gets thrown if a special designator (starting with @) is given, but the filesystem contains a file matching the designator.static class
Invalid data type (no secret key where KEYS expected, etc.).static class
Unable to decrypt (sop decrypt).static class
Certificate not encryption capable (e,g, expired, revoked, unacceptable usage).static class
Non-Text input where text expected.static class
User provided incompatible options (e.g.static class
Incomplete verification instructions (sop decrypt).static class
Key not signature-capable (e.g.static class
A KEYS input is protected (locked) with a password and sop failed to unlock it.static class
Missing required argument.static class
Input file does not exist.static class
No acceptable signatures found (sop verify, inline-verify).static class
Output file already exists.static class
Non-UTF-8 or otherwise unreliable password (sop encrypt).static class
Asymmetric algorithm unsupported (sop encrypt, sign, inline-sign).static class
Unsupported option.static class
The user provided a subcommand with an unsupported profile ("--profile=XYZ"), or the user tried to list profiles of a subcommand that does not support profiles at all.static class
An indirect parameter is a special designator (it starts with @), but sop does not know how to handle the prefix.static class
Unsupported subcommand. -
Constructor Summary
ConstructorsConstructorDescriptionSOPGPException
(String message) SOPGPException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SOPGPException
public SOPGPException() -
SOPGPException
-
SOPGPException
-
SOPGPException
-
-
Method Details
-
getExitCode
public abstract int getExitCode()
-