org.joda.typeconvertor
Class ConversionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--org.joda.util.IllegalArgumentJodaException
|
+--org.joda.typeconvertor.ConversionException
- All Implemented Interfaces:
- java.io.Serializable
- public class ConversionException
- extends IllegalArgumentJodaException
Exception thrown when an object cannot be converted to the
required type. Details of the property and argument are
encapsulated in the exception.
- Author:
- Stephen Colebourne
- See Also:
- Serialized Form
Constructor Summary |
ConversionException(java.lang.Object errSource,
java.lang.Object value)
Constructor |
ConversionException(java.lang.Object errSource,
java.lang.Object value,
java.lang.String message)
Constructor |
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 |
ConversionException
public ConversionException(java.lang.Object errSource,
java.lang.Object value)
- Constructor
- Parameters:
errSource
- the object that generated the exceptionvalue
- the value that could not be converted
ConversionException
public ConversionException(java.lang.Object errSource,
java.lang.Object value,
java.lang.String message)
- Constructor
- Parameters:
errSource
- the object that generated the exceptionvalue
- the value that could not be convertedmessage
- a text message for the exception message
Copyright © 2001-2003 Stephen Colebourne. All Rights Reserved.