Package io.deephaven.engine.util.input
Class StructuredErrorImpl
java.lang.Object
io.deephaven.engine.util.input.StructuredErrorImpl
- All Implemented Interfaces:
InputTableValidationException.StructuredError
public class StructuredErrorImpl
extends Object
implements InputTableValidationException.StructuredError
An implementation of
InputTableValidationException.StructuredError.-
Constructor Summary
ConstructorsConstructorDescriptionStructuredErrorImpl(String message, String column, long row) Create a StructuredError for the provided parameters -
Method Summary
-
Constructor Details
-
StructuredErrorImpl
Create a StructuredError for the provided parameters- Parameters:
message- the error messagecolumn- the column, or null if unknownrow- the row position, negative (canonicallyRowSequence.NULL_ROW_KEY) if unknown
-
-
Method Details
-
getRow
- Specified by:
getRowin interfaceInputTableValidationException.StructuredError- Returns:
- the row position in the table to add that was invalid; or
emptyif unknown.
-
getColumn
- Specified by:
getColumnin interfaceInputTableValidationException.StructuredError
-
getMessage
- Specified by:
getMessagein interfaceInputTableValidationException.StructuredError- Returns:
- the error message for this validation failure.
-