|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
wicket.util.convert.ConversionException
Thrown for conversion exceptions.
| Constructor Summary | |
ConversionException(java.lang.String message)
Construct exception with message. |
|
ConversionException(java.lang.String message,
java.lang.Throwable cause)
Construct exception with message and cause. |
|
ConversionException(java.lang.Throwable cause)
Construct exception with cause. |
|
| Method Summary | |
IConverter |
getConverter()
Gets the used converter. |
java.text.Format |
getFormat()
Get the used format. |
java.util.Locale |
getLocale()
|
java.lang.Object |
getSourceValue()
Gets the tried value. |
java.lang.Class |
getTargetType()
Gets the target property type. |
ITypeConverter |
getTypeConverter()
|
ConversionException |
setConverter(IConverter converter)
Sets the used converter. |
ConversionException |
setFormat(java.text.Format format)
Sets the used format. |
ConversionException |
setLocale(java.util.Locale locale)
Sets the used locale. |
ConversionException |
setSourceValue(java.lang.Object sourceValue)
Sets the tried value. |
ConversionException |
setTargetType(java.lang.Class targetType)
Sets the target property type. |
ConversionException |
setTypeConverter(ITypeConverter typeConverter)
|
| 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 |
| Constructor Detail |
public ConversionException(java.lang.String message)
message - message
public ConversionException(java.lang.String message,
java.lang.Throwable cause)
message - messagecause - causepublic ConversionException(java.lang.Throwable cause)
cause - cause| Method Detail |
public final IConverter getConverter()
public final java.util.Locale getLocale()
public final java.text.Format getFormat()
public final java.lang.Object getSourceValue()
public final java.lang.Class getTargetType()
public ITypeConverter getTypeConverter()
public final ConversionException setConverter(IConverter converter)
converter - the converter.
public final ConversionException setFormat(java.text.Format format)
format - the used format.
public final ConversionException setLocale(java.util.Locale locale)
locale - the used locale.
public final ConversionException setSourceValue(java.lang.Object sourceValue)
sourceValue - the tried value.
public final ConversionException setTargetType(java.lang.Class targetType)
targetType - sets the target property type
public ConversionException setTypeConverter(ITypeConverter typeConverter)
typeConverter - The typeConverter to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||