Commits

Anonymous committed 4641a7c

Use Throwable param instead of Exception

Comments (0)

Files changed (2)

src/java/com/opensymphony/workflow/StoreException.java

         super(s);
     }
 
-    public StoreException(String s, Exception ex) {
+    public StoreException(String s, Throwable ex) {
         super(s, ex);
     }
 
-    public StoreException(Exception ex) {
+    public StoreException(Throwable ex) {
         super(ex);
     }
 }

src/java/com/opensymphony/workflow/WorkflowException.java

         this.rootCause = rootCause;
     }
 
-    public WorkflowException(Exception rootCause) {
+    public WorkflowException(Throwable rootCause) {
         this.rootCause = rootCause;
     }