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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException that gets thrown if a special designator (starting with @) is given, but the filesystem contains a file matching the designator.static classInvalid data type (no secret key where KEYS expected, etc.).static classUnable to decrypt (sop decrypt).static classCertificate not encryption capable (e,g, expired, revoked, unacceptable usage).static classNon-Text input where text expected.static classIncomplete verification instructions (sop decrypt).static classKey not signature-capable (e.g.static classA KEYS input is protected (locked) with a password and sop failed to unlock it.static classMissing required argument.static classInput file does not exist.static classNo acceptable signatures found (sop verify, inline-verify).static classOutput file already exists.static classNon-UTF-8 or otherwise unreliable password (sop encrypt).static classAsymmetric algorithm unsupported (sop encrypt, sign, inline-sign).static classUnsupported option.static classAn indirect parameter is a special designator (it starts with @), but sop does not know how to handle the prefix.static classUnsupported 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()
-