com.jsuereth.pgp.exceptions.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pgp-library_3 Show documentation
Show all versions of pgp-library_3 Show documentation
sbt-pgp provides PGP signing for sbt
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