summaryrefslogtreecommitdiff
path: root/pdf-over-signer/src/main/java/at/asit/pdfover/signer/UserCancelledException.java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-signer/src/main/java/at/asit/pdfover/signer/UserCancelledException.java')
-rw-r--r--pdf-over-signer/src/main/java/at/asit/pdfover/signer/UserCancelledException.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/UserCancelledException.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/UserCancelledException.java
new file mode 100644
index 00000000..ff1b4db8
--- /dev/null
+++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/UserCancelledException.java
@@ -0,0 +1,44 @@
+package at.asit.pdfover.signer;
+
+/**
+ * The user cancelled the operation.
+ */
+public class UserCancelledException extends Exception {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = -7341854663858331004L;
+
+ /**
+ * Empty constructor
+ */
+ public UserCancelledException() {
+ super();
+ }
+
+ /**
+ * Constructor with causing exception
+ * @param cause the cause
+ */
+ public UserCancelledException(Throwable cause) {
+ super(cause);
+ }
+
+ /**
+ * Constructor with message
+ * @param msg the message
+ */
+ public UserCancelledException(String msg) {
+ super(msg);
+ }
+
+ /**
+ * Constructor with message and causing exception
+ * @param message the message
+ * @param cause the cause
+ */
+ public UserCancelledException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}