Class KettleCellValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pentaho.di.core.exception.KettleException
-
- org.pentaho.di.trans.steps.excelinput.KettleCellValueException
-
- All Implemented Interfaces:
Serializable
public class KettleCellValueException extends org.pentaho.di.core.exception.KettleException
ExtendedKettleException
to allow passing of extra context info up the chain (sheet, row, and column IDs). If we were really obsessive, we'd cache both the names and indexes of all the items, including the input file. But this will do for a start.- Since:
- 14-FEB-2008
- Author:
- timh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KettleCellValueException(org.pentaho.di.core.exception.KettleException ex, int sheetnr, int rownr, int colnr, String fieldName)
Standard constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
KettleCellValueException
public KettleCellValueException(org.pentaho.di.core.exception.KettleException ex, int sheetnr, int rownr, int colnr, String fieldName)
Standard constructor. Note: All indexes below have a 0-origin (internal index), but are reported with a 1-origin (human index).- Parameters:
ex
- The Exception to wrap.sheetnr
- Sheet numberrownr
- Row numbercolnr
- Column numberfieldName
- The name of the field being converted
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classorg.pentaho.di.core.exception.KettleException
-
-