public class ModuleException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected ActionMessage |
message
The ActionMessage associated with this exception.
|
protected String |
property |
| Constructor and Description |
|---|
ModuleException(String key)
Construct an module exception with no replacement values.
|
ModuleException(String key,
Object value)
Construct an module exception with the specified replacement values.
|
ModuleException(String key,
Object[] values)
Construct an error with the specified replacement values.
|
ModuleException(String key,
Object value0,
Object value1)
Construct an module exception with the specified replacement values.
|
ModuleException(String key,
Object value0,
Object value1,
Object value2)
Construct an module exception with the specified replacement values.
|
ModuleException(String key,
Object value0,
Object value1,
Object value2,
Object value3)
Construct an module exception with the specified replacement values.
|
| Modifier and Type | Method and Description |
|---|---|
ActionMessage |
getActionMessage()
Returns the error associated with the exception.
|
String |
getProperty()
Returns the property associated with the exception.
|
void |
setProperty(String property)
Set the property associated with the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected String property
protected ActionMessage message
public ModuleException(String key)
key - Message key for this error messagepublic ModuleException(String key, Object value)
key - Message key for this error messagevalue - First replacement valuepublic ModuleException(String key, Object value0, Object value1)
key - Message key for this error messagevalue0 - First replacement valuevalue1 - Second replacement valuepublic ModuleException(String key, Object value0, Object value1, Object value2)
key - Message key for this error messagevalue0 - First replacement valuevalue1 - Second replacement valuevalue2 - Third replacement valuepublic ModuleException(String key, Object value0, Object value1, Object value2, Object value3)
key - Message key for this error messagevalue0 - First replacement valuevalue1 - Second replacement valuevalue2 - Third replacement valuevalue3 - Fourth replacement valuepublic String getProperty()
public void setProperty(String property)
public ActionMessage getActionMessage()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.