You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2007/01/28 17:39:42 UTC
svn commit: r500824 -
/tomcat/tc6.0.x/trunk/java/javax/servlet/jsp/JspException.java
Author: markt
Date: Sun Jan 28 08:39:42 2007
New Revision: 500824
URL: http://svn.apache.org/viewvc?view=rev&rev=500824
Log:
Replace tabs with 8 spaces and tidy up the javadocs afterwards. No functional change.
Modified:
tomcat/tc6.0.x/trunk/java/javax/servlet/jsp/JspException.java
Modified: tomcat/tc6.0.x/trunk/java/javax/servlet/jsp/JspException.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/javax/servlet/jsp/JspException.java?view=diff&rev=500824&r1=500823&r2=500824
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/servlet/jsp/JspException.java (original)
+++ tomcat/tc6.0.x/trunk/java/javax/servlet/jsp/JspException.java Sun Jan 28 08:39:42 2007
@@ -39,13 +39,11 @@
* specified message. The message can be written
* to the server log and/or displayed for the user.
*
- * @param msg a <code>String</code>
- * specifying the text of
- * the exception message
- *
+ * @param msg a <code>String</code> specifying the text of the exception
+ * message
*/
public JspException(String msg) {
- super(msg);
+ super(msg);
}
@@ -56,19 +54,17 @@
* normal operation, including a description message.
*
*
- * @param message a <code>String</code> containing
- * the text of the exception message
- *
- * @param rootCause the <code>Throwable</code> exception
- * that interfered with the servlet's
- * normal operation, making this servlet
- * exception necessary
+ * @param message a <code>String</code> containing the text of the
+ * exception message
*
+ * @param rootCause the <code>Throwable</code> exception that
+ * interfered with the servlet's normal operation,
+ * making this servlet exception necessary
*/
public JspException(String message, Throwable rootCause) {
- super(message);
- this.rootCause = rootCause;
+ super(message);
+ this.rootCause = rootCause;
}
@@ -85,29 +81,25 @@
* this method can be overridden to create an exception message
* designed for a specific locale.
*
- * @param rootCause the <code>Throwable</code> exception
- * that interfered with the JSP's
- * normal operation, making the JSP exception
- * necessary
- *
+ * @param rootCause the <code>Throwable</code> exception that
+ * interfered with the JSP's normal operation, making
+ * the JSP exception necessary
*/
public JspException(Throwable rootCause) {
- super(rootCause.getLocalizedMessage());
- this.rootCause = rootCause;
+ super(rootCause.getLocalizedMessage());
+ this.rootCause = rootCause;
}
/**
* Returns the exception that caused this JSP exception.
*
- *
- * @return the <code>Throwable</code>
- * that caused this JSP exception
+ * @return the <code>Throwable</code> that caused this JSP exception
*
*/
public Throwable getRootCause() {
- return rootCause;
+ return rootCause;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org