|
From: <pat...@us...> - 2010-02-17 20:50:49
|
Revision: 1036
http://cishell.svn.sourceforge.net/cishell/?rev=1036&view=rev
Author: pataphil
Date: 2010-02-17 20:50:41 +0000 (Wed, 17 Feb 2010)
Log Message:
-----------
* Added AlgorithCanceledException for when algorithms want to communicate to themselves internally when they've been canceled (relating to monitoring progress).
* Reviewed by Chintan.
Added Paths:
-----------
trunk/core/org.cishell.framework/src/org/cishell/framework/algorithm/AlgorithmCanceledException.java
Added: trunk/core/org.cishell.framework/src/org/cishell/framework/algorithm/AlgorithmCanceledException.java
===================================================================
--- trunk/core/org.cishell.framework/src/org/cishell/framework/algorithm/AlgorithmCanceledException.java (rev 0)
+++ trunk/core/org.cishell.framework/src/org/cishell/framework/algorithm/AlgorithmCanceledException.java 2010-02-17 20:50:41 UTC (rev 1036)
@@ -0,0 +1,21 @@
+package org.cishell.framework.algorithm;
+
+public class AlgorithmCanceledException extends Exception {
+ private static final long serialVersionUID = 9017277008277139930L;
+
+ public AlgorithmCanceledException(String message, Throwable exception) {
+ super(message, exception);
+ }
+
+ public AlgorithmCanceledException(Throwable exception) {
+ super(exception);
+ }
+
+ public AlgorithmCanceledException(String message) {
+ super(message);
+ }
+
+ public AlgorithmCanceledException() {
+ this("Algorithm canceled by user.");
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|