pl.edu.agh.cast.importer.base.exceptions
Class WrongValueConversionRuleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by pl.edu.agh.cast.importer.base.exceptions.ConversionRuleException
              extended by pl.edu.agh.cast.importer.base.exceptions.WrongValueConversionRuleException
All Implemented Interfaces:
Serializable

public class WrongValueConversionRuleException
extends ConversionRuleException

Thrown when a ConversionRule tries to convert a given data row into a specified data type, which cannot be done due to the value being incorrect (i.e. incorrect data type or format).

Author:
AGH CAST Team
See Also:
Serialized Form

Constructor Summary
WrongValueConversionRuleException()
          The default empty constructor.
WrongValueConversionRuleException(ErrorType errorType)
          Constructor.
WrongValueConversionRuleException(ErrorType errorType, String[] params)
          Constructor.
WrongValueConversionRuleException(String[] params)
          Constructs a new exception with the specified list of parameters.
 
Method Summary
 
Methods inherited from class pl.edu.agh.cast.importer.base.exceptions.ConversionRuleException
getErrorType, getParams
 
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

WrongValueConversionRuleException

public WrongValueConversionRuleException()
The default empty constructor.


WrongValueConversionRuleException

public WrongValueConversionRuleException(String[] params)
Constructs a new exception with the specified list of parameters.

Parameters:
params - the parameters list

WrongValueConversionRuleException

public WrongValueConversionRuleException(ErrorType errorType)
Constructor.

Parameters:
errorType - error type

WrongValueConversionRuleException

public WrongValueConversionRuleException(ErrorType errorType,
                                         String[] params)
Constructor.

Parameters:
errorType - error type
params - parameter list


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.