public static class ArgumentLocations
extends java.lang.Object
ArgumentLocations
class describes which part(s) of the input to the
method caused the exception.
Some types of exceptions are caused by the
value of one of the inputs to the method, possibly due to an interaction with
other inputs to the method. This class is intended to be used as the payload to
identify those inputs when the method reports exceptions like InvalidArgument
or NotFound
. See Error.getData()
.