ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/jasper/compiler/ErrorHandler.java

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

      
    
Rootfs path

      
    
Size
3390 (3.3 KB)
MD5
9646c26926987c61714854e11a902a2f
SHA1
b27f44b9da9a12ff45b8356f206248e0b3dcdf5c
SHA256
c20c5fa495694c1d0e458bd08c003f9e8d762b40afa3144668e2da314f4eebff
SHA512

      
    
SHA1_git
35acbf64857f24ccec3d638629432ae121a9c363
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ErrorHandler.java | 3.3 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 org.apache.jasper.compiler; import org.apache.jasper.JasperException; /** * Interface for handling JSP parse and javac compilation errors. An implementation of this interface may be registered * with the ErrorDispatcher by setting the XXX initialization parameter in the JSP page compiler and execution servlet * in Catalina's web.xml file to the implementation's fully qualified class name. */ public interface ErrorHandler { /** * Processes the given JSP parse error. * <p> * It is expected (and Jasper is coded based on this) that calls to this method will always result in a * {@code JasperException} being thrown. * * @param fname Name of the JSP file in which the parse error occurred * @param line Parse error line number * @param column Parse error column number * @param msg Parse error message * @param exception Parse exception * * @throws JasperException An error occurred */ void jspError(String fname, int line, int column, String msg, Exception exception) throws JasperException; /** * Processes the given JSP parse error. * <p> * It is expected (and Jasper is coded based on this) that calls to this method will always result in a * {@code JasperException} being thrown. * * @param msg Parse error message * @param exception Parse exception * * @throws JasperException An error occurred */ void jspError(String msg, Exception exception) throws JasperException; /** * Processes the given javac compilation errors. * <p> * It is expected (and Jasper is coded based on this) that calls to this method will always result in a * {@code JasperException} being thrown. * * @param details Array of JavacErrorDetail instances corresponding to the compilation errors * * @throws JasperException An error occurred */ void javacError(JavacErrorDetail[] details) throws JasperException; /** * Processes the given javac error report and exception. * <p> * It is expected (and Jasper is coded based on this) that calls to this method will always result in a * {@code JasperException} being thrown. * * @param errorReport Compilation error report * @param exception Compilation exception * * @throws JasperException An error occurred */ void javacError(String errorReport, Exception exception) throws JasperException; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
28.61
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