|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.struts.util.ModuleException
public class ModuleException
Used for specialized exception handling.
Field Summary | |
---|---|
protected ActionMessage |
message
The ActionMessage associated with this exception. |
protected java.lang.String |
property
|
Constructor Summary | |
---|---|
ModuleException(java.lang.String key)
Construct an module exception with no replacement values. |
|
ModuleException(java.lang.String key,
java.lang.Object value)
Construct an module exception with the specified replacement values. |
|
ModuleException(java.lang.String key,
java.lang.Object[] values)
Construct an error with the specified replacement values. |
|
ModuleException(java.lang.String key,
java.lang.Object value0,
java.lang.Object value1)
Construct an module exception with the specified replacement values. |
|
ModuleException(java.lang.String key,
java.lang.Object value0,
java.lang.Object value1,
java.lang.Object value2)
Construct an module exception with the specified replacement values. |
|
ModuleException(java.lang.String key,
java.lang.Object value0,
java.lang.Object value1,
java.lang.Object value2,
java.lang.Object value3)
Construct an module exception with the specified replacement values. |
Method Summary | |
---|---|
ActionMessage |
getActionMessage()
Returns the error associated with the exception. |
java.lang.String |
getProperty()
Returns the property associated with the exception. |
void |
setProperty(java.lang.String property)
Set the property associated with the exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String property
protected ActionMessage message
Constructor Detail |
---|
public ModuleException(java.lang.String key)
key
- Message key for this error messagepublic ModuleException(java.lang.String key, java.lang.Object value)
key
- Message key for this error messagevalue
- First replacement valuepublic ModuleException(java.lang.String key, java.lang.Object value0, java.lang.Object value1)
key
- Message key for this error messagevalue0
- First replacement valuevalue1
- Second replacement valuepublic ModuleException(java.lang.String key, java.lang.Object value0, java.lang.Object value1, java.lang.Object value2)
key
- Message key for this error messagevalue0
- First replacement valuevalue1
- Second replacement valuevalue2
- Third replacement valuepublic ModuleException(java.lang.String key, java.lang.Object value0, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3)
key
- Message key for this error messagevalue0
- First replacement valuevalue1
- Second replacement valuevalue2
- Third replacement valuevalue3
- Fourth replacement valuepublic ModuleException(java.lang.String key, java.lang.Object[] values)
key
- Message key for this messagevalues
- Array of replacement valuesMethod Detail |
---|
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
public ActionMessage getActionMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |