home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-tomcat-addon-1.4.9-installer.exe / jsp-api.jar / javax / servlet / jsp / JspException.class (.txt) < prev    next >
Encoding:
Java Class File  |  2004-08-28  |  942 b   |  27 lines

  1. package javax.servlet.jsp;
  2.  
  3. public class JspException extends Exception {
  4.    private Throwable rootCause;
  5.  
  6.    public JspException() {
  7.    }
  8.  
  9.    public JspException(String msg) {
  10.       super(msg);
  11.    }
  12.  
  13.    public JspException(String message, Throwable rootCause) {
  14.       super(message);
  15.       this.rootCause = rootCause;
  16.    }
  17.  
  18.    public JspException(Throwable rootCause) {
  19.       super(rootCause.getLocalizedMessage());
  20.       this.rootCause = rootCause;
  21.    }
  22.  
  23.    public Throwable getRootCause() {
  24.       return this.rootCause;
  25.    }
  26. }
  27.