org.hippoecm.hst.configuration.channel
Class ChannelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.hippoecm.hst.configuration.channel.ChannelException
- All Implemented Interfaces:
- Serializable
public class ChannelException
- extends Exception
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:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ChannelException
public ChannelException(String message)
ChannelException
public ChannelException(String message,
Throwable cause)
ChannelException
public ChannelException(String message,
ChannelException.Type type,
String... parameters)
ChannelException
public ChannelException(String message,
Throwable cause,
ChannelException.Type type,
String... parameters)
getType
public ChannelException.Type getType()
getParameters
public String[] getParameters()
Copyright © 2008-2012 Hippo. All Rights Reserved.