ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/servlet/jsp/JspException.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/jakarta/servlet/jsp/JspException.java
Status
scanned
Type
file
Name
JspException.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2765 (2.7 KB)
MD5
bc2fc8d00f2b33c8fbb33809fa3224b1
SHA1
99174a4b86b894f23af9a4c6ac06410809fec297
SHA256
ad631b7ee2c03c4cfcb1084866945a413ba3de85c2037196ee9b137fd2ff368f
SHA512

      
    
SHA1_git
625394543bb95ab5cbb8ff82b2712c0137417cd5
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
JspException.java | 2.7 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package jakarta.servlet.jsp; import java.io.Serial; /** * A generic exception known to the JSP engine; uncaught JspExceptions will result in an invocation of the error page * machinery. */ public class JspException extends Exception { @Serial private static final long serialVersionUID = 1L; /** * Construct a JspException. */ public JspException() { // NOOP } /** * Constructs a new JSP exception with the 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 */ public JspException(String msg) { super(msg); } /** * Constructs a new <code>JSPException</code> with the specified detail message and cause. The cause is saved for * later retrieval by the <code>java.lang.Throwable.getCause()</code> method. * * @see java.lang.Exception#Exception(String, Throwable) * * @param message a <code>String</code> containing the text of the exception message * @param cause the <code>Throwable</code> exception that interfered with the JSP's normal operation, making this * JSP exception necessary */ public JspException(String message, Throwable cause) { super(message, cause); } /** * Constructs a new <code>JSPException</code> with the specified cause. The cause is saved for later retrieval by * the <code>java.lang.Throwable.getCause()</code> method. * * @see java.lang.Exception#Exception(Throwable) * * @param cause the <code>Throwable</code> exception that interfered with the JSP's normal operation, making the JSP * exception necessary */ public JspException(Throwable cause) { super(cause); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
35.42
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9