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:
- java.io.Serializable
- public class PropertyEditorException
- extends java.lang.IllegalArgumentException
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:
IllegalArgumentAware
,
ActionSupport
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyEditorException
public PropertyEditorException(java.lang.String bundleKey,
java.lang.Object oneValue)
PropertyEditorException
public PropertyEditorException(java.lang.String bundleKey,
java.lang.Object oneValue,
java.lang.String defaultMessage)
PropertyEditorException
public PropertyEditorException(java.lang.String bundleKey,
java.lang.Object[] propertyValues,
java.lang.String defaultMessage)
getMessage
public java.lang.String getMessage()
getBundleKey
public java.lang.String getBundleKey()
getPropertyValues
public java.lang.Object[] getPropertyValues()
Copyright © 2001-2003 WebWork All Rights Reserved.