Author: andreas
Date: Thu Jan 31 16:17:10 2008
New Revision: 617311
URL: http://svn.apache.org/viewvc?rev=617311&view=rev
Log:
Don't wrap WorkflowException in another WorkflowException.
Modified:
lenya/trunk/src/modules-core/workflow/java/src/org/apache/lenya/workflow/impl/WorkflowManagerImpl.java
Modified: lenya/trunk/src/modules-core/workflow/java/src/org/apache/lenya/workflow/impl/WorkflowManagerImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/workflow/java/src/org/apache/lenya/workflow/impl/WorkflowManagerImpl.java?rev=617311&r1=617310&r2=617311&view=diff
==============================================================================
--- lenya/trunk/src/modules-core/workflow/java/src/org/apache/lenya/workflow/impl/WorkflowManagerImpl.java (original)
+++ lenya/trunk/src/modules-core/workflow/java/src/org/apache/lenya/workflow/impl/WorkflowManagerImpl.java Thu Jan 31 16:17:10 2008
@@ -118,6 +118,8 @@
this.uri2workflow.put(uri, workflow);
}
}
+ } catch (final WorkflowException e) {
+ throw e;
} catch (final Exception e) {
throw new WorkflowException(e);
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.