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.IncompleteVerification,SOPGPException.KeyCannotSign,SOPGPException.KeyIsProtected,SOPGPException.MissingArg,SOPGPException.MissingInput,SOPGPException.NoSignature,SOPGPException.OutputExists,SOPGPException.PasswordNotHumanReadable,SOPGPException.UnsupportedAsymmetricAlgo,SOPGPException.UnsupportedOption,SOPGPException.UnsupportedSpecialPrefix,SOPGPException.UnsupportedSubcommand
public abstract class SOPGPException extends RuntimeException
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSOPGPException.AmbiguousInputException that gets thrown if a special designator (starting with @) is given, but the filesystem contains a file matching the designator.static classSOPGPException.BadDataInvalid data type (no secret key where KEYS expected, etc.).static classSOPGPException.CannotDecryptUnable to decrypt (sop decrypt).static classSOPGPException.CertCannotEncryptCertificate not encryption capable (e,g, expired, revoked, unacceptable usage).static classSOPGPException.ExpectedTextNon-Text input where text expected.static classSOPGPException.IncompleteVerificationIncomplete verification instructions (sop decrypt).static classSOPGPException.KeyCannotSignKey not signature-capable (e.g.static classSOPGPException.KeyIsProtectedA KEYS input is protected (locked) with a password and sop failed to unlock it.static classSOPGPException.MissingArgMissing required argument.static classSOPGPException.MissingInputInput file does not exist.static classSOPGPException.NoSignatureNo acceptable signatures found (sop verify, inline-verify).static classSOPGPException.OutputExistsOutput file already exists.static classSOPGPException.PasswordNotHumanReadableNon-UTF-8 or otherwise unreliable password (sop encrypt).static classSOPGPException.UnsupportedAsymmetricAlgoAsymmetric algorithm unsupported (sop encrypt, sign, inline-sign).static classSOPGPException.UnsupportedOptionUnsupported option.static classSOPGPException.UnsupportedSpecialPrefixAn indirect parameter is a special designator (it starts with @), but sop does not know how to handle the prefix.static classSOPGPException.UnsupportedSubcommandUnsupported subcommand.
-
Constructor Summary
Constructors Constructor Description SOPGPException()SOPGPException(String message)SOPGPException(String message, Throwable cause)SOPGPException(Throwable e)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract intgetExitCode()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-