Package io.deephaven.engine.util.input
Class InputTableValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.deephaven.UncheckedDeephavenException
io.deephaven.engine.util.input.InputTableValidationException
- All Implemented Interfaces:
Serializable
Thrown when an InputTableUpdater detects an invalid modification.
If an InputTableUpdater detects an invalid modification, by throwing this Exception a detailed error message can be
passed back to the gRPC client that initiated the operation. Using a list of structured
errors, the client can indicate to the user which of the cells (if known) were invalid.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn error indicating that invalid data was entered; with an optional row position and column name. -
Constructor Summary
ConstructorsConstructorDescriptionInputTableValidationException(String message) Create an InputTableValidationException with the given message.InputTableValidationException(String message, List<InputTableValidationException.StructuredError> errors) Create an InputTableValidationException with the given message.Create an InputTableValidationException with the given errors. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InputTableValidationException
Create an InputTableValidationException with the given message.No structured errors are supplied.
- Parameters:
message- the error message
-
InputTableValidationException
public InputTableValidationException(String message, List<InputTableValidationException.StructuredError> errors) Create an InputTableValidationException with the given message.- Parameters:
message- the error messageerrors- the structured errors for reporting to callers
-
InputTableValidationException
Create an InputTableValidationException with the given errors.The exception message is generated from the list of errors, attempting to provide a user-actionable summary for callers that do not interpret structured errors.
- Parameters:
errors- the structured errors for reporting to callers
-
-
Method Details
-
getErrors
-