Class KettleCellValueException

  • All Implemented Interfaces:
    Serializable

    public class KettleCellValueException
    extends org.pentaho.di.core.exception.KettleException
    Extended KettleException 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 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 number
        rownr - Row number
        colnr - Column number
        fieldName - The name of the field being converted
    • Method Detail

      • getMessage

        public String getMessage()
        Overrides:
        getMessage in class org.pentaho.di.core.exception.KettleException