Package com.znize.platform.util.text
Class UnknownExpressionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.znize.platform.util.ExecException
-
- com.znize.platform.util.text.UnknownExpressionException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnknownExpressionException extends ExecException
UnknownExpressionException: raised when an #{expression} can not be resolved.- Since:
- 5.14
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.znize.platform.util.ExecException
ExecException.Severity
-
-
Field Summary
-
Fields inherited from class com.znize.platform.util.ExecException
localized, messageId, params, severity
-
-
Constructor Summary
Constructors Constructor Description UnknownExpressionException(java.lang.String message)Constructor with a message.UnknownExpressionException(java.lang.String messageId, boolean localized, java.lang.Object[] params)Constructor.UnknownExpressionException(java.lang.String messageId, boolean localized, java.lang.Object[] params, java.lang.Throwable t)Constructor.UnknownExpressionException(java.lang.String message, java.lang.Throwable t)Constructor with a localized message and cause.UnknownExpressionException(java.lang.Throwable t)Constructor with a wrapped Throwable.
-
Method Summary
-
Methods inherited from class com.znize.platform.util.ExecException
getLogLevel, getMessage, getMessage, getMessageId, getParams, getRootCause, getSeverity, isLocalized, setSeverity
-
-
-
-
Constructor Detail
-
UnknownExpressionException
public UnknownExpressionException(java.lang.Throwable t)
Constructor with a wrapped Throwable.- Parameters:
t- a Throwable
-
UnknownExpressionException
public UnknownExpressionException(java.lang.String message)
Constructor with a message.- Parameters:
message- message
-
UnknownExpressionException
public UnknownExpressionException(java.lang.String messageId, boolean localized, java.lang.Object[] params, java.lang.Throwable t)Constructor. If the message is not localized, resource bundle will be used to translate the message.- Parameters:
messageId- if localized is false, message key in resource bundle whose value can contain parameters {n}. if localized is true, a message that can contain parameters {n}.localized- whether the messageId is localized.params- an array of parameter valuest- throwable (cause)- Since:
- 6.0
-
UnknownExpressionException
public UnknownExpressionException(java.lang.String messageId, boolean localized, java.lang.Object[] params)Constructor. if the message is not localized, resource bundle will be used to translate the message.- Parameters:
messageId- if localized is false, message key in resource bundle whose value can contain parameters {n}. if localized is true, a message that can contain parameters {n}.localized- whether the messageId is localized.params- an array of parameter values- Since:
- 5.21
-
UnknownExpressionException
public UnknownExpressionException(java.lang.String message, java.lang.Throwable t)Constructor with a localized message and cause.- Parameters:
message- a localized message. Resource bundle will not be used.t- throwable (cause)- Since:
- 5.21
-
-