Package io.github.qishr.cascara.schema
Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.qishr.cascara.common.util.CascaraRuntimeException
io.github.qishr.cascara.common.lang.exception.LocatableException
io.github.qishr.cascara.schema.SchemaException
public class SchemaException
extends LocatableException
Constructor Summary
| Constructor | Description |
|---|---|
| SchemaException(String message, Class<?> clazz) | For errors in a schema for a class. |
| SchemaException(String message, Throwable cause, URI uri) | For errors in a schema caused by an exception. |
| SchemaException(String message, URI uri) | For errors in a schema. |
| SchemaException(String message, int line, int column, URI uri) | For errors in a schema where the line and column are known. |
| SchemaException(String message, String schemaPath, URI uri) | For errors relating to a path in a compiled schema. |
| SchemaException(String message, String schemaPath, int line, int column, URI uri) | For errors relating to a path in a schema where the line and column are known. |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public String | getSchemaPath() | |
| public String | getRawMessage() |
Methods inherited from LocatableException
getUri, getLine, getColumn
Method Details
getSchemaPath
public String getSchemaPath()
getRawMessage
public String getRawMessage()