Author: apetrelli
Date: Mon Sep 28 16:18:57 2009
New Revision: 819630

URL: http://svn.apache.org/viewvc?rev=819630&view=rev
Log:
TILES-468
Changed the class of the causes.

Modified:
    
tiles/framework/trunk/tiles-api/src/main/java/org/apache/tiles/TilesException.java

Modified: 
tiles/framework/trunk/tiles-api/src/main/java/org/apache/tiles/TilesException.java
URL: 
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-api/src/main/java/org/apache/tiles/TilesException.java?rev=819630&r1=819629&r2=819630&view=diff
==============================================================================
--- 
tiles/framework/trunk/tiles-api/src/main/java/org/apache/tiles/TilesException.java
 (original)
+++ 
tiles/framework/trunk/tiles-api/src/main/java/org/apache/tiles/TilesException.java
 Mon Sep 28 16:18:57 2009
@@ -52,9 +52,9 @@
      * one, and its message will become the default message for
      * the TilesException.</p>
      *
-     * @param e The exception to be wrapped.
+     * @param e The cause to be wrapped.
      */
-    public TilesException(Exception e) {
+    public TilesException(Throwable e) {
         super(e);
     }
 
@@ -66,9 +66,9 @@
      * one, but the new exception will have its own message.</p>
      *
      * @param message The detail message.
-     * @param e       The exception to be wrapped.
+     * @param e       The cause to be wrapped.
      */
-    public TilesException(String message, Exception e) {
+    public TilesException(String message, Throwable e) {
         super(message, e);
     }
 }


Reply via email to