com.abstractics.utils.converter
Class ObjectConverterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.abstractics.utils.converter.ObjectConverterException
All Implemented Interfaces:
java.io.Serializable

public class ObjectConverterException
extends java.lang.Exception

General exception thrown by Converter when there is a conversion error.

Version:
$Id: ObjectConverterException.java,v 1.1 2005/10/26 15:18:21 andrew Exp $
Author:
Andrew Lawrence, Copyright 2006 Abstractics, L.L.C., Licensed under the Apache License, Version 2.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
ObjectConverterException(java.lang.Object objectToConvert, java.lang.Class classToConvertTo)
           
ObjectConverterException(java.lang.Object objectToConvert, java.lang.Class classToConvertTo, java.lang.String message)
           
ObjectConverterException(java.lang.Object objectToConvert, java.lang.Class classToConvertTo, java.lang.String message, java.lang.Throwable cause)
           
ObjectConverterException(java.lang.Object objectToConvert, java.lang.Class classToConvertTo, java.lang.Throwable cause)
           
 
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

ObjectConverterException

public ObjectConverterException(java.lang.Object objectToConvert,
                                java.lang.Class classToConvertTo)
Parameters:
objectToConvert - The object that was trying to be converted
classToConvertTo - The Class that the object was supposed to be converted into

ObjectConverterException

public ObjectConverterException(java.lang.Object objectToConvert,
                                java.lang.Class classToConvertTo,
                                java.lang.String message)
Parameters:
objectToConvert - The object that was trying to be converted
classToConvertTo - The Class that the object was supposed to be converted into
message - Message to use in the error

ObjectConverterException

public ObjectConverterException(java.lang.Object objectToConvert,
                                java.lang.Class classToConvertTo,
                                java.lang.Throwable cause)
Parameters:
objectToConvert - The object that was trying to be converted
classToConvertTo - The Class that the object was supposed to be converted into
cause - Throwable that caused the conversion error, if available, null otherwise

ObjectConverterException

public ObjectConverterException(java.lang.Object objectToConvert,
                                java.lang.Class classToConvertTo,
                                java.lang.String message,
                                java.lang.Throwable cause)
Parameters:
objectToConvert - The object that was trying to be converted
classToConvertTo - The Class that the object was supposed to be converted into
message - Message to use in the error
cause - Throwable that caused the conversion error, if available, null otherwise