Package jakarta.enterprise.event
Class ObserverException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.event.ObserverException
-
- All Implemented Interfaces:
java.io.Serializable
public class ObserverException extends java.lang.RuntimeException
Indicates that a checked exception was thrown by an observer method during event notification.
- Author:
- Pete Muir, Gavin King
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObserverException()
Creates the exception with no detail message or cause.ObserverException(java.lang.String message)
Creates the exception with given detail message.ObserverException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.ObserverException(java.lang.Throwable cause)
Creates the exception with given cause.
-
-
-
Constructor Detail
-
ObserverException
public ObserverException()
Creates the exception with no detail message or cause.
-
ObserverException
public ObserverException(java.lang.String message)
Creates the exception with given detail message.- Parameters:
message
- the detail message
-
ObserverException
public ObserverException(java.lang.Throwable cause)
Creates the exception with given cause.- Parameters:
cause
- the cause
-
ObserverException
public ObserverException(java.lang.String message, java.lang.Throwable cause)
Creates the exception with given detail message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-