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

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

The newest version!
package com.jsuereth.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 - 2024 Weber Informatics LLC | Privacy Policy