Author: markt
Date: Wed Jul 3 13:38:18 2013
New Revision: 1499397
URL: http://svn.apache.org/r1499397
Log:
Re-order to simplify checking against EL spec
Modified:
tomcat/trunk/java/javax/el/ELException.java
Modified: tomcat/trunk/java/javax/el/ELException.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/ELException.java?rev=1499397&r1=1499396&r2=1499397&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/ELException.java (original)
+++ tomcat/trunk/java/javax/el/ELException.java Wed Jul 3 13:38:18 2013
@@ -45,24 +45,24 @@ public class ELException extends Runtime
}
/**
- * Creates an ELException with the given detail message and root cause.
+ * Creates an ELException with the given cause
*
- * @param message
- * the detail message
* @param cause
* the originating cause of this exception
*/
- public ELException(String message, Throwable cause) {
- super(message, cause);
+ public ELException(Throwable cause) {
+ super(cause);
}
/**
- * Creates an ELException with the given cause
+ * Creates an ELException with the given detail message and root cause.
*
+ * @param message
+ * the detail message
* @param cause
* the originating cause of this exception
*/
- public ELException(Throwable cause) {
- super(cause);
+ public ELException(String message, Throwable cause) {
+ super(message, cause);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]