Package sop.exception
Class SOPGPException.KeyCannotSign
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- sop.exception.SOPGPException
-
- sop.exception.SOPGPException.KeyCannotSign
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- SOPGPException
public static class SOPGPException.KeyCannotSign extends SOPGPException
Key not signature-capable (e.g. expired, revoked, unacceptable usage flags) (sop sign and sop encrypt with --sign-with).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class sop.exception.SOPGPException
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXIT_CODE
-
Constructor Summary
Constructors Constructor Description KeyCannotSign()
KeyCannotSign(java.lang.String s, SOPGPException.KeyCannotSign keyCannotSign)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getExitCode()
-
-
-
Field Detail
-
EXIT_CODE
public static final int EXIT_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KeyCannotSign
public KeyCannotSign()
-
KeyCannotSign
public KeyCannotSign(java.lang.String s, SOPGPException.KeyCannotSign keyCannotSign)
-
-
Method Detail
-
getExitCode
public int getExitCode()
- Specified by:
getExitCode
in classSOPGPException
-
-