All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jsuereth.pgp.exceptions.scala Maven / Gradle / Ivy

There is a newer version: 0.0.12
Show newest version
package bleep.plugin.pgp

/** Base class for exceptions thrown in PGP library. */
trait PgpException extends Exception

/** Exception thrown when a key is not found in the keystore. */
case class KeyNotFoundException(id: Long) extends Exception("Could not find PGP key [%x]" format id) with PgpException

case class NotEncryptedMessageException(msg: String) extends Exception(msg) with PgpException

case class IntegrityException(msg: String) extends Exception(msg) with PgpException




© 2015 - 2025 Weber Informatics LLC | Privacy Policy