Class LocatedValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.confluent.kafka.schemaregistry.type.logical.ValidationException
io.confluent.kafka.schemaregistry.type.logical.LocatedValidationException
- All Implemented Interfaces:
Serializable
A
ValidationException that carries the source position where the offending
input was parsed. Used by tools (e.g. the playground UI) to underline the exact
span of the error rather than reporting at the top of the document.
Position fields use ANTLR's convention: lines are 1-based, columns are 0-based.
endColumn is exclusive.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocatedValidationException(String message, int line, int column, int endLine, int endColumn) LocatedValidationException(String message, int line, int column, int endLine, int endColumn, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LocatedValidationException
-
LocatedValidationException
-
-
Method Details
-
getLine
public int getLine() -
getColumn
public int getColumn() -
getEndLine
public int getEndLine() -
getEndColumn
public int getEndColumn()
-