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

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

      
    
Rootfs path

      
    
Size
2746 (2.7 KB)
MD5
c02b6898b59f0806cc0a9a69629736c1
SHA1
1356e1935b3f541cdb9754f541fcc2a63b0ed14c
SHA256
4438cbb69788b9ed639b09bc070ee065bf34fd9e93a397596a55b48f44a067ad
SHA512

      
    
SHA1_git
589ac7e35d610c5400034f2c650ab1226cb77474
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
SkipPageException.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; /** * Exception to indicate the calling page must cease evaluation. Thrown by a simple tag handler to indicate that the * remainder of the page must not be evaluated. The result is propagated back to the page in the case where one tag * invokes another (as can be the case with tag files). The effect is similar to that of a Classic Tag Handler returning * Tag.SKIP_PAGE from doEndTag(). Jsp Fragments may also throw this exception. This exception should not be thrown * manually in a JSP page or tag file - the behavior is undefined. The exception is intended to be thrown inside * SimpleTag handlers and in JSP fragments. * * @see jakarta.servlet.jsp.tagext.SimpleTag#doTag * @see jakarta.servlet.jsp.tagext.JspFragment#invoke * @see jakarta.servlet.jsp.tagext.Tag#doEndTag * * @since JSP 2.0 */ public class SkipPageException extends JspException { @Serial private static final long serialVersionUID = 1L; /** * Creates a SkipPageException with no message. */ public SkipPageException() { super(); } /** * Creates a SkipPageException with the provided message. * * @param message the detail message */ public SkipPageException(String message) { super(message); } /** * Creates a SkipPageException with the provided message and root cause. * * @param message the detail message * @param rootCause the originating cause of this exception */ public SkipPageException(String message, Throwable rootCause) { super(message, rootCause); } /** * Creates a SkipPageException with the provided root cause. * * @param rootCause the originating cause of this exception */ public SkipPageException(Throwable rootCause) { super(rootCause); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
34.59
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