Package webwork.util.editor
Class PropertyEditorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
webwork.util.editor.PropertyEditorException
- All Implemented Interfaces:
Serializable
This exception can be thrown by property editors instead of IllegalArgumentException ActionSupport will use the
bundleKey to look up a localized error message. The message will then be formatted with the propertyValues. If no
default message is supplied then one is constructed here. The default message is used to be backwards compatible so
that people who have created their own ActionSupport classes and do not want to use the new localization features
will not have to make changes to their code.
- Version:
- $Revision: 1.1 $
- Author:
- Dick Zetterberg (dick@transitor.se)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyEditorException(String bundleKey, Object oneValue) PropertyEditorException(String bundleKey, Object[] propertyValues, String defaultMessage) PropertyEditorException(String bundleKey, Object oneValue, String defaultMessage) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyEditorException
-
PropertyEditorException
-
PropertyEditorException
-
-
Method Details
-
getMessage
- Overrides:
getMessagein classThrowable
-
getBundleKey
-
getPropertyValues
-