Package org.pentaho.di.core.exception
Class KettleConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pentaho.di.core.exception.KettleException
-
- org.pentaho.di.core.exception.KettleConversionException
-
- All Implemented Interfaces:
Serializable
public class KettleConversionException extends KettleException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 errorsfields
- the failing fieldsrowData
- the row with the failed fields set to null.
-
-
Method Detail
-
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
-
-