org.pentaho.di.core.exception
Class KettleConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pentaho.di.core.exception.KettleException
              extended by org.pentaho.di.core.exception.KettleConversionException
All Implemented Interfaces:
Serializable

public class KettleConversionException
extends KettleException

See Also:
Serialized Form

Constructor Summary
KettleConversionException()
          Constructs a new throwable with null as its detail message.
KettleConversionException(String message, List<Exception> causes, List<ValueMetaInterface> fields, Object[] rowData)
          Constructs a new throwable with the specified detail message and cause.
 
Method Summary
 List<Exception> getCauses()
           
 List<ValueMetaInterface> getFields()
           
 Object[] getRowData()
           
 void setCauses(List<Exception> causes)
           
 void setFields(List<ValueMetaInterface> fields)
           
 void setRowData(Object[] rowData)
           
 
Methods inherited from class org.pentaho.di.core.exception.KettleException
getMessage, getSuperMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KettleConversionException

public KettleConversionException()
Constructs a new throwable with null as its detail message.


KettleConversionException

public KettleConversionException(String message,
                                 List<Exception> causes,
                                 List<ValueMetaInterface> fields,
                                 Object[] rowData)
Constructs a new throwable with the specified detail message and cause.

Parameters:
message - the detail message (which is saved for later retrieval by the getMessage() method).
causes - the causes of the conversion errors
fields - the failing fields
rowData - the row with the failed fields set to null.
Method Detail

getCauses

public List<Exception> getCauses()
Returns:
the causes

setCauses

public void setCauses(List<Exception> causes)
Parameters:
causes - the causes to set

getFields

public List<ValueMetaInterface> getFields()
Returns:
the fields

setFields

public void setFields(List<ValueMetaInterface> fields)
Parameters:
fields - the fields to set

getRowData

public Object[] getRowData()
Returns:
the rowData

setRowData

public void setRowData(Object[] rowData)
Parameters:
rowData - the rowData to set