Package jakarta.faces.event
Class AbortProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.faces.FacesException
jakarta.faces.event.AbortProcessingException
- All Implemented Interfaces:
Serializable
An exception that may be thrown by event listeners to terminate the processing of the current event.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstruct a new exception with no detail message or root cause.AbortProcessingException
(String message) Construct a new exception with the specified detail message and no root cause.AbortProcessingException
(String message, Throwable cause) Construct a new exception with the specified detail message and root cause.Construct a new exception with the specified root cause. -
Method Summary
Methods inherited from class jakarta.faces.FacesException
getCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbortProcessingException
public AbortProcessingException()Construct a new exception with no detail message or root cause.
-
AbortProcessingException
Construct a new exception with the specified detail message and no root cause.
- Parameters:
message
- The detail message for this exception
-
AbortProcessingException
Construct a new exception with the specified root cause.
- Parameters:
cause
- The root cause for this exception
-
AbortProcessingException
Construct a new exception with the specified detail message and root cause.
- Parameters:
message
- The detail message for this exceptioncause
- The root cause for this exception
-