From 94bf81d31e74a209d60f2fd4f1f20448770bf1a0 Mon Sep 17 00:00:00 2001 From: tkellner Date: Tue, 7 Aug 2012 14:52:00 +0000 Subject: Refactoring git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12276 3a0b52a2-8410-0410-bc02-ff6273a87459 --- .../asit/pdfover/signator/SignatureException.java | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java (limited to 'trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java') diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java new file mode 100644 index 00000000..d41ba24d --- /dev/null +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java @@ -0,0 +1,45 @@ +package at.asit.pdfover.signator; + +/** + * Base class for signature exceptions + */ +public class SignatureException extends Exception { + + /** + * + */ + private static final long serialVersionUID = 711578398780816710L; + + + /** + * Empty constructor + */ + public SignatureException() { + super(); + } + + /** + * Constructor with causing exception + * @param cause the cause + */ + public SignatureException(Throwable cause) { + super(cause); + } + + /** + * Constructor with message + * @param msg the message + */ + public SignatureException(String msg) { + super(msg); + } + + /** + * Constructor with message and causing exception + * @param message the message + * @param cause the cause + */ + public SignatureException(String message, Throwable cause) { + super(message, cause); + } +} -- cgit v1.2.3