Uses of Class
org.apache.jasper.JasperException
Packages that use JasperException
Package
Description
-
Uses of JasperException in org.apache.jasper
Methods in org.apache.jasper that return types with arguments of type JasperExceptionModifier and TypeMethodDescriptionJspC.getJSPCompilationErrors()Gets the list of JSP compilation errors caught during the most recent invocation of this instance'sexecutemethod when failOnError has been set to FALSE.Methods in org.apache.jasper that throw JasperExceptionModifier and TypeMethodDescriptionvoidJspCompilationContext.compile()JspCompilationContext.createCompiler(boolean jspcMode) Create a "Compiler" object.JspCompilationContext.createParser()Create a compiler object for parsing only.voidJspC.execute()JspCompilationContext.getResourceAsStream(String res) Gets a resource as a stream, relative to the meanings of this context's implementation.JspCompilationContext.getResourcePaths(String path) String[]JspCompilationContext.getTldLocation(String uri) Gets the 'location' of the TLD associated with the given taglib 'uri'.JspCompilationContext.load()voidLocate all jsp files in the webapp.voidConstructors in org.apache.jasper that throw JasperExceptionModifierConstructorDescriptionJspCompilationContext(String jspUri, boolean isErrPage, Options options, javax.servlet.ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt) JspCompilationContext(String tagfile, javax.servlet.jsp.tagext.TagInfo tagInfo, Options options, javax.servlet.ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt, URL tagFileJarUrl) -
Uses of JasperException in org.apache.jasper.compiler
Methods in org.apache.jasper.compiler with parameters of type JasperExceptionModifier and TypeMethodDescriptionvoidErrorDispatcher.throwException(org.apache.jasper.compiler.Mark where, JasperException je) Creates and throws a new exception from the given JasperException, by prepending the given location information (containing file name, line number, and column number) to the message of the given exception, and copying the stacktrace of the given exception to the new exception.Methods in org.apache.jasper.compiler that throw JasperExceptionModifier and TypeMethodDescriptionvoidTagPluginManager.apply(org.apache.jasper.compiler.Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo) static voidJspUtil.checkAttributes(String typeOfTag, org.apache.jasper.compiler.Node n, JspUtil.ValidAttribute[] validAttributes, ErrorDispatcher err) Checks if all mandatory attributes are present and if all attributes present have valid names.static voidJspUtil.checkScope(String scope, org.apache.jasper.compiler.Node n, ErrorDispatcher err) Checks to see if the given scope is valid.voidCompiler.compile(boolean compileClass) Compile the jsp file from the current engine context.static voidTextOptimizer.concatenate(Compiler compiler, org.apache.jasper.compiler.Node.Nodes page) static JavacErrorDetailErrorDispatcher.createJavacError(String fname, org.apache.jasper.compiler.Node.Nodes page, StringBuilder errMsgBuf, int lineNum) voidJsr199JavaCompiler.doJavaFile(boolean keep) JspConfig.findJspProperty(String uri) Find a property that best matches the supplied resource.static InputStreamJspUtil.getInputStream(String fname, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err) AntJavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) JDTJavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) NullJavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) static StringJspUtil.getTagHandlerClassName(String path, ErrorDispatcher err) Gets the fully-qualified class name of the tag handler corresponding to the given tag file path.booleanTo find out if an uri matches an url pattern in jsp config.voidErrorDispatcher.javacError(String errorReport, Exception e) voidErrorDispatcher.javacError(JavacErrorDetail[] javacErrors) voidErrorHandler.javacError(String errorReport, Exception exception) Processes the given javac error report and exception.voidErrorHandler.javacError(JavacErrorDetail[] details) Processes the given javac compilation errors.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidErrorDispatcher.jspError(org.apache.jasper.compiler.Node n, String errCode, String arg, Exception e) voidProcesses the given JSP parse error.voidProcesses the given JSP parse error.static voidCreates the functions mappers for all EL expressions in the JSP page.static JavacErrorDetail[]ErrorDispatcher.parseJavacMessage(org.apache.jasper.compiler.Node.Nodes pageNodes, String errMsg, String fname) voidPageInfo.setAutoFlush(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidPageInfo.setBufferValue(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidPageInfo.setDeferredSyntaxAllowedAsLiteral(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidPageInfo.setIsELIgnored(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidPageInfo.setIsErrorPage(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidPageInfo.setIsThreadSafe(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidPageInfo.setLanguage(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidPageInfo.setSession(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidPageInfo.setTrimDirectiveWhitespaces(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidErrorDispatcher.throwException(org.apache.jasper.compiler.Mark where, JasperException je) Creates and throws a new exception from the given JasperException, by prepending the given location information (containing file name, line number, and column number) to the message of the given exception, and copying the stacktrace of the given exception to the new exception.static voidJspUtil.validateExpressions(org.apache.jasper.compiler.Mark where, String expressions, javax.el.FunctionMapper functionMapper, ErrorDispatcher err) Validates the syntax of all EL expressions within the given string.Constructors in org.apache.jasper.compiler that throw JasperExceptionModifierConstructorDescriptionCompiler(JspCompilationContext ctxt, JspServletWrapper jsw, boolean jspcMode) TagLibraryInfoImpl(JspCompilationContext ctxt, org.apache.jasper.compiler.ParserController pc, String prefix, String uriIn, String[] location, ErrorDispatcher err) Constructor which builds a TagLibraryInfoImpl by parsing a TLD. -
Uses of JasperException in org.apache.jasper.runtime
Methods in org.apache.jasper.runtime that throw JasperExceptionModifier and TypeMethodDescriptionstatic Objectstatic voidJspRuntimeLibrary.createTypedArray(String propertyName, Object bean, Method method, String[] values, Class t, Class propertyEditorClass) Create a typed array.String[]TldScanner.getLocation(String uri) Gets the 'location' of the TLD associated with the given taglib 'uri'.static MethodJspRuntimeLibrary.getReadMethod(Class beanClass, String prop) static ObjectJspRuntimeLibrary.getValueFromBeanInfoPropertyEditor(Class attrClass, String attrName, String attrValue, Class propertyEditorClass) static ObjectJspRuntimeLibrary.getValueFromPropertyEditorManager(Class attrClass, String attrName, String attrValue) static MethodJspRuntimeLibrary.getWriteMethod(Class beanClass, String prop) static ObjectJspRuntimeLibrary.handleGetProperty(Object o, String prop) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, boolean value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, byte value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, char value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, double value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, float value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, int value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, long value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, short value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, Object value) static voidJspRuntimeLibrary.handleSetPropertyExpression(Object bean, String prop, String expression, javax.servlet.jsp.PageContext pageContext, ProtectedFunctionMapper functionMapper) Use proprietaryEvaluate public static void handleSetPropertyExpression(Object bean, String prop, String expression, PageContext pageContext, VariableResolver variableResolver, FunctionMapper functionMapper ) throws JasperException { try { Method method = getWriteMethod(bean.getClass(), prop); method.invoke(bean, new Object[] { pageContext.getExpressionEvaluator().evaluate( expression, method.getParameterTypes()[0], variableResolver, functionMapper, null ) }); } catch (Exception ex) { throw new JasperException(ex); } }static voidJspRuntimeLibrary.introspect(Object bean, javax.servlet.ServletRequest request) static voidJspRuntimeLibrary.introspecthelper(Object bean, String prop, String value, javax.servlet.ServletRequest request, String param, boolean ignoreMethodNF) -
Uses of JasperException in org.apache.jasper.servlet
Methods in org.apache.jasper.servlet with parameters of type JasperExceptionModifier and TypeMethodDescriptionvoidJspServletWrapper.setCompilationException(JasperException je) Sets the compilation exception for this JspServletWrapper.Methods in org.apache.jasper.servlet that throw JasperExceptionModifier and TypeMethodDescriptionJspServletWrapper.loadTagFile()Compile (if needed) and load a tag fileJspServletWrapper.loadTagFilePrototype()Compile and load a prototype for the Tag file.Constructors in org.apache.jasper.servlet that throw JasperExceptionModifierConstructorDescriptionJspServletWrapper(javax.servlet.ServletContext servletContext, Options options, String tagFilePath, javax.servlet.jsp.tagext.TagInfo tagInfo, JspRuntimeContext rctxt, URL tagFileJarUrl) -
Uses of JasperException in org.apache.jasper.xmlparser
Methods in org.apache.jasper.xmlparser that throw JasperExceptionModifier and TypeMethodDescriptionstatic Object[]XMLEncodingDetector.getEncoding(String fname, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err) Autodetects the encoding of the XML document supplied by the given input stream.ParserUtils.parseXMLDocument(String uri, InputStream is) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.ParserUtils.parseXMLDocument(String uri, InputStream is, boolean validate) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.ParserUtils.parseXMLDocument(String uri, InputSource is) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.ParserUtils.parseXMLDocument(String uri, InputSource is, boolean validate) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.XMLEncodingDetector.scanPseudoAttribute(boolean scanningTextDecl, XMLString value) Scans a pseudo attribute.