jdbcadmin.core.exceptions
Class ConvertionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byjdbcadmin.core.exceptions.ConvertionException
All Implemented Interfaces:
org.apache.commons.lang.exception.Nestable, java.io.Serializable

public class ConvertionException
extends org.apache.commons.lang.exception.NestableException

Exception thrown for convertion errors

Author:
Thomas Recloux (trecloux@norsys.fr)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
ConvertionException(java.lang.String aMessage, java.lang.String aPropertyName, java.lang.String aSampleValue, java.lang.Throwable aSource)
          Constructor which set up the message, the name of the concerned property , a sample value and the source exception.
 
Method Summary
 java.lang.String getPropertyName()
           
 java.lang.String getSampleValue()
           
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConvertionException

public ConvertionException(java.lang.String aMessage,
                           java.lang.String aPropertyName,
                           java.lang.String aSampleValue,
                           java.lang.Throwable aSource)
Constructor which set up the message, the name of the concerned property , a sample value and the source exception.

Parameters:
aMessage - The exception message
aSampleValue - The sample value
aPropertyName - The name of the property
aSource - source exception
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Returns:
Returns the propertyName.

getSampleValue

public java.lang.String getSampleValue()
Returns:
Returns the sampleValue.


Copyright © 2004-2005 Norsys. All Rights Reserved.