Class ChannelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hippoecm.hst.configuration.channel.ChannelException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChannelNotFoundException
Thrown when a channel-related error occured. A channel exception has a type with a key that can be used for
i18n of the error messages. A channel exception can also contain a number of parameters that can be used in the
i18n error message. Which parameters are included should be documented in the method where the exception is thrown.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionChannelException
(String message) ChannelException
(String message, Throwable cause) ChannelException
(String message, Throwable cause, ChannelException.Type type, String... parameters) ChannelException
(String message, ChannelException.Type type, String... parameters) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ChannelException
-
ChannelException
-
ChannelException
-
ChannelException
public ChannelException(String message, Throwable cause, ChannelException.Type type, String... parameters)
-
-
Method Details
-
getType
-
getParameters
-