webwork.util.editor
Class PropertyEditorException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalArgumentException
                  extended bywebwork.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

Constructor Summary
PropertyEditorException(java.lang.String bundleKey, java.lang.Object oneValue)
           
PropertyEditorException(java.lang.String bundleKey, java.lang.Object[] propertyValues, java.lang.String defaultMessage)
           
PropertyEditorException(java.lang.String bundleKey, java.lang.Object oneValue, java.lang.String defaultMessage)
           
 
Method Summary
 java.lang.String getBundleKey()
           
 java.lang.String getMessage()
           
 java.lang.Object[] getPropertyValues()
           
 
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
 

Constructor Detail

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)
Method Detail

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.