diff options
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java | 2 | ||||
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumableException.java (renamed from pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumeableException.java) | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java index d7e5ba01..1b7e731b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java @@ -22,7 +22,7 @@ import at.asit.pdfover.gui.Messages; /** * */ -public class OutputfolderDontExistException extends ResumeableException { +public class OutputfolderDontExistException extends ResumableException { /** * */ diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumeableException.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumableException.java index a4add193..4d150b44 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumeableException.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumableException.java @@ -18,7 +18,7 @@ package at.asit.pdfover.gui.exceptions; /** * */ -public class ResumeableException extends Exception { +public class ResumableException extends Exception { /** * @@ -32,7 +32,7 @@ public class ResumeableException extends Exception { * @param msg Error message * @param resumeIndex Validator index to resume from */ - public ResumeableException(String msg, int resumeIndex) { + public ResumableException(String msg, int resumeIndex) { super(msg); this.resumeIndex = resumeIndex; } @@ -43,12 +43,13 @@ public class ResumeableException extends Exception { * @param cause Exception causing this one * @param resumeIndex Validator index to resume from */ - public ResumeableException(String msg, Throwable cause, int resumeIndex) { + public ResumableException(String msg, Throwable cause, int resumeIndex) { super(msg, cause); this.resumeIndex = resumeIndex; } /** + * Return the validator index to resume from * @return the resumeIndex */ public int getResumeIndex() { |