Class FieldErrorNode.InternalException

java.lang.Object
name.martingeisse.grumpyjson.FieldErrorNode
name.martingeisse.grumpyjson.FieldErrorNode.InternalException
Enclosing class:
FieldErrorNode

public static final class FieldErrorNode.InternalException extends FieldErrorNode
A leaf node with an internal exception. The exception message and details will be hidden from the client, so we don't leak any internal information, but we want to make it available internally for debugging. The client will see the field path and a generic error message and so might be able to guess what the problem is.

This node type only handles Exception, not Throwable in general. The latter will not be caught at all since they usually indicate much more fundamental problems.