Package jakarta.el
Class ELException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.el.ELException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MethodNotFoundException
,PropertyNotFoundException
,PropertyNotWritableException
public class ELException extends java.lang.RuntimeException
Represents any of the exception conditions that can arise during expression evaluation.- Since:
- 2.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ELException()
Creates an ELException with no detail messageELException(java.lang.String message)
Creates an ELException with the provided detail message.ELException(java.lang.String message, java.lang.Throwable cause)
Creates an ELException with the given detail message and root cause.ELException(java.lang.Throwable cause)
Creates an ELException with the given cause
-
-
-
Constructor Detail
-
ELException
public ELException()
Creates an ELException with no detail message
-
ELException
public ELException(java.lang.String message)
Creates an ELException with the provided detail message.- Parameters:
message
- the detail message
-
ELException
public ELException(java.lang.Throwable cause)
Creates an ELException with the given cause- Parameters:
cause
- the originating cause of this exception
-
ELException
public ELException(java.lang.String message, java.lang.Throwable cause)
Creates an ELException with the given detail message and root cause.- Parameters:
message
- the detail messagecause
- the originating cause of this exception
-
-