summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:10:12 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:10:12 +0000
commit0e63e608c06f3ec9b81b067ee5529219b5b3ca1e (patch)
tree1329ca39e529c766abb2fd8d67301ddebdd105db /pdf-over-gui/src/main
parent096294455cf6aefbe2e58fd3c2bf341206572c59 (diff)
downloadmocca-0e63e608c06f3ec9b81b067ee5529219b5b3ca1e.tar.gz
mocca-0e63e608c06f3ec9b81b067ee5529219b5b3ca1e.tar.bz2
mocca-0e63e608c06f3ec9b81b067ee5529219b5b3ca1e.zip
Resumeable -> Resumable
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@170 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java6
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java2
-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
3 files changed, 8 insertions, 7 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
index c170e5df..72bda43b 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java
+++ b/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/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() {