JspMethodNotFoundException (Apache Tomcat 10.1.57 API Documentation)
Description: declaration: package: org.apache.jasper.el, class: JspMethodNotFoundException

# Class JspMethodNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.el.ELException
jakarta.el.MethodNotFoundException
org.apache.jasper.el.JspMethodNotFoundException

All Implemented Interfaces:
  `Serializable`

public class JspMethodNotFoundException extends MethodNotFoundException
Exception wrapper that adds a JSP-specific mark to a MethodNotFoundException for better error tracking.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JspMethodNotFoundException(String mark, MethodNotFoundException e)`
  Creates a new JspMethodNotFoundException wrapping the given exception with a mark prefix.

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### JspMethodNotFoundException

    public JspMethodNotFoundException(String mark, MethodNotFoundException e)
    Creates a new JspMethodNotFoundException wrapping the given exception with a mark prefix.
    Parameters:
      `mark` - the mark prefix to prepend to the error message
      `e` - the underlying MethodNotFoundException