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
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs 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
Modifier and TypeMethodDescriptionObject[]
void
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 Details
-
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 Details
-
getCauses
- Returns:
- the causes
-
setCauses
- Parameters:
causes
- the causes to set
-
getFields
- Returns:
- the fields
-
setFields
- Parameters:
fields
- the fields to set
-
getRowData
- Returns:
- the rowData
-
setRowData
- Parameters:
rowData
- the rowData to set
-