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

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.EmptyValueConversionRuleException
All Implemented Interfaces:
Serializable

public class EmptyValueConversionRuleException
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 empty.

Author:
AGH CAST Team
See Also:
Serialized Form

Constructor Summary
EmptyValueConversionRuleException()
          The default empty constructor.
EmptyValueConversionRuleException(ErrorType errorType)
          Constructor.
EmptyValueConversionRuleException(ErrorType errorType, String[] params)
          Constructor.
EmptyValueConversionRuleException(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

EmptyValueConversionRuleException

public EmptyValueConversionRuleException()
The default empty constructor.


EmptyValueConversionRuleException

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

Parameters:
params - the parameters list

EmptyValueConversionRuleException

public EmptyValueConversionRuleException(ErrorType errorType)
Constructor.

Parameters:
errorType - error type

EmptyValueConversionRuleException

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

Parameters:
errorType - error type
params - parameter list


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