- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.el.ELException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MethodNotFoundException
,PropertyNotFoundException
,PropertyNotWritableException
public class ELException extends RuntimeException
Represents any of the exception conditions that can arise during expression evaluation.- Since:
- Jakarta Server Pages 2.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ELException()
Creates anELException
with no detail message.ELException(String pMessage)
Creates anELException
with the provided detail message.ELException(String pMessage, Throwable pRootCause)
Creates an ELException with the given detail message and root cause.ELException(Throwable pRootCause)
Creates anELException
with the given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ELException
public ELException()
Creates anELException
with no detail message.
-
ELException
public ELException(String pMessage)
Creates anELException
with the provided detail message.- Parameters:
pMessage
- the detail message
-
ELException
public ELException(Throwable pRootCause)
Creates anELException
with the given cause.- Parameters:
pRootCause
- the originating cause of this exception
-
-