summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-gui/src/main')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java6
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java2
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumableException.java (renamed from trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumeableException.java)7
3 files changed, 8 insertions, 7 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
index c170e5df..72bda43b 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
+++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
@@ -33,7 +33,7 @@ import at.asit.pdfover.gui.controls.ErrorDialog.ERROR_BUTTONS;
import at.asit.pdfover.gui.exceptions.InvalidEmblemFile;
import at.asit.pdfover.gui.exceptions.InvalidNumberException;
import at.asit.pdfover.gui.exceptions.InvalidPortException;
-import at.asit.pdfover.gui.exceptions.ResumeableException;
+import at.asit.pdfover.gui.exceptions.ResumableException;
import at.asit.pdfover.gui.workflow.ConfigManipulator;
import at.asit.pdfover.gui.workflow.ConfigProvider;
import at.asit.pdfover.gui.workflow.ConfigurationContainer;
@@ -321,7 +321,7 @@ public class ConfigurationComposite extends StateComposite {
redo = false;
status = true;
- } catch (ResumeableException e) {
+ } catch (ResumableException e) {
log.error("Settings validation failed!", e); //$NON-NLS-1$
ErrorDialog dialog = new ErrorDialog(getShell(),
e.getMessage(), ERROR_BUTTONS.ABORT_RETRY_IGNORE);
@@ -350,7 +350,7 @@ public class ConfigurationComposite extends StateComposite {
redo = false;
status = true;
- } catch (ResumeableException e) {
+ } catch (ResumableException e) {
log.error("Settings validation failed!", e); //$NON-NLS-1$
ErrorDialog dialog = new ErrorDialog(getShell(),
e.getMessage(), ERROR_BUTTONS.ABORT_RETRY_IGNORE);
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java
index d7e5ba01..1b7e731b 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java
+++ b/trunk/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/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumeableException.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumableException.java
index a4add193..4d150b44 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/ResumeableException.java
+++ b/trunk/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() {