Package org.openrefine.history.dag
Class IncompatibleSliceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.openrefine.history.dag.IncompatibleSliceException
-
- All Implemented Interfaces:
Serializable
public class IncompatibleSliceException extends Exception
Exception indicating that a DAG slice cannot be applied to a given state (given by the list of column metadata at that stage).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncompatibleSliceException(DagSlice slice, ColumnModel columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnModel
getColumnModel()
String
getMessage()
DagSlice
getSlice()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IncompatibleSliceException
public IncompatibleSliceException(DagSlice slice, ColumnModel columns)
-
-
Method Detail
-
getSlice
public DagSlice getSlice()
- Returns:
- the slice which failed to apply
-
getColumnModel
public ColumnModel getColumnModel()
- Returns:
- the columns the slice could not be applied to
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-