# Package sop.exception

package sop.exception
Stateless OpenPGP Interface for Java. Exception classes.

Related Packages
Package
Description
sop
Stateless OpenPGP Interface for Java.
sop.enums
Stateless OpenPGP Interface for Java.
sop.operation
Stateless OpenPGP Interface for Java.
sop.util
Utility classes.
Exceptions
Class
Description
SOPGPException
SOPGPException.AmbiguousInput
Exception that gets thrown if a special designator (starting with @) is given, but the filesystem contains a file matching the designator.
SOPGPException.BadData
Invalid data type (no secret key where KEYS expected, etc.).
SOPGPException.CannotDecrypt
Unable to decrypt (sop decrypt).
SOPGPException.CertCannotEncrypt
Certificate not encryption capable (e,g, expired, revoked, unacceptable usage).
SOPGPException.ExpectedText
Non-Text input where text expected.
SOPGPException.IncompatibleOptions
User provided incompatible options (e.g.
SOPGPException.IncompleteVerification
Incomplete verification instructions (sop decrypt).
SOPGPException.KeyCannotSign
Key not signature-capable (e.g.
SOPGPException.KeyIsProtected
A KEYS input is protected (locked) with a password and sop failed to unlock it.
SOPGPException.MissingArg
Missing required argument.
SOPGPException.MissingInput
Input file does not exist.
SOPGPException.NoSignature
No acceptable signatures found (sop verify, inline-verify).
SOPGPException.OutputExists
Output file already exists.
SOPGPException.PasswordNotHumanReadable
Non-UTF-8 or otherwise unreliable password (sop encrypt).
SOPGPException.UnsupportedAsymmetricAlgo
Asymmetric algorithm unsupported (sop encrypt, sign, inline-sign).
SOPGPException.UnsupportedOption
Unsupported option.
SOPGPException.UnsupportedProfile
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.
SOPGPException.UnsupportedSpecialPrefix
An indirect parameter is a special designator (it starts with @), but sop does not know how to handle the prefix.
SOPGPException.UnsupportedSubcommand
Unsupported subcommand.