|
Spring Web Flow | ||||||||
| 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
org.springframework.binding.convert.ConversionException
org.springframework.binding.convert.ConversionExecutionException
public class ConversionExecutionException
Thrown when an attempt to execute a type conversion fails.
| Constructor Summary | |
|---|---|
ConversionExecutionException(java.lang.Object value,
java.lang.Class<?> sourceClass,
java.lang.Class<?> targetClass,
java.lang.String message)
Creates a new conversion exception. |
|
ConversionExecutionException(java.lang.Object value,
java.lang.Class<?> sourceClass,
java.lang.Class<?> targetClass,
java.lang.Throwable cause)
Creates a new conversion exception. |
|
| Method Summary | |
|---|---|
java.lang.Class<?> |
getSourceClass()
Returns the source type we tried to convert the value from. |
java.lang.Class<?> |
getTargetClass()
Returns the target type we tried to convert the value to. |
java.lang.Object |
getValue()
Returns the actual value we tried to convert, an instance of getSourceClass(). |
| 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 ConversionExecutionException(java.lang.Object value,
java.lang.Class<?> sourceClass,
java.lang.Class<?> targetClass,
java.lang.Throwable cause)
value - the value we tried to convertsourceClass - the value's original typetargetClass - the value's target typecause - the cause of the conversion failure
public ConversionExecutionException(java.lang.Object value,
java.lang.Class<?> sourceClass,
java.lang.Class<?> targetClass,
java.lang.String message)
value - the value we tried to convertsourceClass - the value's original typetargetClass - the value's target typemessage - a descriptive message of what went wrong.| Method Detail |
|---|
public java.lang.Object getValue()
getSourceClass().
public java.lang.Class<?> getSourceClass()
public java.lang.Class<?> getTargetClass()
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||