AvroTypeException with extra fields used to trace back the path to
a bad value through an object graph
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AvroTypeException | summarize(Schema
the root object for the operation that generated the exception root)Implements org. |
| public void | tracePath(PathElement
an AvroPath step tracing back from the location of the original
exception towards the root of the data graph step)Implements org. |
| reversePath | back to summary |
|---|---|
| private final List<PathElement> reversePath | |
| TracingAvroTypeException | back to summary |
|---|---|
| public TracingAvroTypeException(AvroTypeException cause) | |
| summarize | back to summary |
|---|---|
| public AvroTypeException summarize(Schema root) Implements org. Doc from org. produces a user-facing exception to be thrown back out to user code
| |
| tracePath | back to summary |
|---|---|
| public void tracePath(PathElement step) Implements org. Doc from org. appends a path element to the trace. expected to be called in reverse-order as the exception bubbles up the stack
| |