|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jdesktop.swing.data.ConversionException
Thrown by Converter instances when errors occur during value conversion.
Converter,
Serialized Form| Constructor Summary | |
ConversionException(Object value,
Class fromClass)
Instantiates conversion exception for error which occurred when attempting to convert the specified object value to a string. |
|
ConversionException(Object value,
Class fromClass,
Throwable cause)
Instantiates conversion exception for error which occurred when attempting to convert the specified object value to a string. |
|
ConversionException(String message)
Instantiates conversion exception. |
|
ConversionException(String value,
Class toClass)
Instantiates conversion exception for error which occurred when attempting to convert the specified string value to an object of the specified class. |
|
ConversionException(String value,
Class toClass,
Throwable cause)
Instantiates conversion exception for error which occurred when attempting to convert the specified string value to an object of the specified class. |
|
ConversionException(String message,
Throwable cause)
Instantiates conversion exception. |
|
| 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(Object value,
Class fromClass)
value - object which could not be convertedfromClass - class of object value being converted
public ConversionException(Object value,
Class fromClass,
Throwable cause)
value - object value which could not be convertedfromClass - class of object value being convertedcause - the specific throwable which caused conversion failure
public ConversionException(String value,
Class toClass)
value - string value which could not be convertedtoClass - class the value was being converted to
public ConversionException(String value,
Class toClass,
Throwable cause)
value - object value which could not be convertedtoClass - class of object value being convertedcause - the specific throwable which caused conversion failurepublic ConversionException(String message)
message - String containing description of why exception occurred
public ConversionException(String message,
Throwable cause)
message - String containing description of why exception occurredcause - the specific throwable which caused conversion failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||