diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-31 16:37:00 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-10-31 16:37:00 +0000 |
commit | 228ed8c792a5f310431484149619671b6e397395 (patch) | |
tree | e40edbe6dcc8eacbd91bd0f97dfb0839acaa361e /trunk/pdf-over-gui/src | |
parent | a1041705e4a9f20cfaacc70a18705093ab16b54b (diff) | |
download | pdf-over-228ed8c792a5f310431484149619671b6e397395.tar.gz pdf-over-228ed8c792a5f310431484149619671b6e397395.tar.bz2 pdf-over-228ed8c792a5f310431484149619671b6e397395.zip |
Resumeable -> Resumable
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12756 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-gui/src')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 6 | ||||
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/exceptions/OutputfolderDontExistException.java | 2 | ||||
-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() { |