| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.struts.util.ModuleException
All known Subclasses: org.apache.struts.webapp.example.ExpiredPasswordException, org.apache.struts.webapp.example2.ExpiredPasswordException,
ModuleException | public class ModuleException extends Exception (Code) | | Used for specialized exception handling.
|
Constructor Summary | |
public | ModuleException(String key) Construct an module exception with no replacement values. | public | ModuleException(String key, Object value) Construct an module exception with the specified replacement values. | public | ModuleException(String key, Object value0, Object value1) Construct an module exception with the specified replacement values. | public | ModuleException(String key, Object value0, Object value1, Object value2) Construct an module exception with the specified replacement values. | public | ModuleException(String key, Object value0, Object value1, Object value2, Object value3) Construct an module exception with the specified replacement values. | public | ModuleException(String key, Object[] values) Construct an error with the specified replacement values. |
message | protected ActionMessage message(Code) | | The ActionMessage associated with this exception.
since: Struts 1.2 |
ModuleException | public ModuleException(String key)(Code) | | Construct an module exception with no replacement values.
Parameters: key - Message key for this error message |
ModuleException | public ModuleException(String key, Object value)(Code) | | Construct an module exception with the specified replacement values.
Parameters: key - Message key for this error message Parameters: value - First replacement value |
ModuleException | public ModuleException(String key, Object value0, Object value1)(Code) | | Construct an module exception with the specified replacement values.
Parameters: key - Message key for this error message Parameters: value0 - First replacement value Parameters: value1 - Second replacement value |
ModuleException | public ModuleException(String key, Object value0, Object value1, Object value2)(Code) | | Construct an module exception with the specified replacement values.
Parameters: key - Message key for this error message Parameters: value0 - First replacement value Parameters: value1 - Second replacement value Parameters: value2 - Third replacement value |
ModuleException | public ModuleException(String key, Object value0, Object value1, Object value2, Object value3)(Code) | | Construct an module exception with the specified replacement values.
Parameters: key - Message key for this error message Parameters: value0 - First replacement value Parameters: value1 - Second replacement value Parameters: value2 - Third replacement value Parameters: value3 - Fourth replacement value |
ModuleException | public ModuleException(String key, Object[] values)(Code) | | Construct an error with the specified replacement values.
Parameters: key - Message key for this message Parameters: values - Array of replacement values |
getActionMessage | public ActionMessage getActionMessage()(Code) | | Returns the error associated with the exception.
Value of property error. since: Struts 1.2 |
getProperty | public String getProperty()(Code) | | Returns the property associated with the exception.
Value of property. |
setProperty | public void setProperty(String property)(Code) | | Set the property associated with the exception. It can be a name of the
edit field, which 'caused' the exception.
|
|
|