Class ChannelManagerEventListenerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hippoecm.hst.configuration.channel.ChannelManagerEventListenerException
- All Implemented Interfaces:
Serializable
Exception that you can throw in a
ChannelManagerEventListener
implementation : When you
wants to short circuit the processing of the Channel
creation / update entirely, you have to use
ChannelManagerEventListenerException.Status.STOP_CHANNEL_PROCESSING
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionConstructs a newChannelManagerEventListenerException
exception.ChannelManagerEventListenerException
(ChannelManagerEventListenerException.Status status, String message) Constructs a newChannelManagerEventListenerException
exception with the given message.ChannelManagerEventListenerException
(ChannelManagerEventListenerException.Status status, String msg, Throwable nested) Constructs a newChannelManagerEventListenerException
exception when the container needs to do the following: throw an exception include the "nested" exception include a description messageChannelManagerEventListenerException
(ChannelManagerEventListenerException.Status status, Throwable nested) Constructs a newChannelManagerEventListenerException
exception with the nested exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChannelManagerEventListenerException
Constructs a newChannelManagerEventListenerException
exception. -
ChannelManagerEventListenerException
public ChannelManagerEventListenerException(ChannelManagerEventListenerException.Status status, String message) Constructs a newChannelManagerEventListenerException
exception with the given message.- Parameters:
message
- the exception message
-
ChannelManagerEventListenerException
public ChannelManagerEventListenerException(ChannelManagerEventListenerException.Status status, Throwable nested) Constructs a newChannelManagerEventListenerException
exception with the nested exception.- Parameters:
nested
- the nested exception
-
ChannelManagerEventListenerException
public ChannelManagerEventListenerException(ChannelManagerEventListenerException.Status status, String msg, Throwable nested) Constructs a newChannelManagerEventListenerException
exception when the container needs to do the following:- throw an exception
- include the "nested" exception
- include a description message
- Parameters:
msg
- the exception messagenested
- the nested exception
-
-
Method Details
-
getStatus
-