## Uses of Interface
javax.json.stream.JsonLocation

- Packages that use JsonLocation
  Package | Description
  --- | ---
  javax.json.stream | Provides a streaming API to parse and generate JSON.

- - ### Uses of JsonLocation in javax.json.stream

    Methods in javax.json.stream that return JsonLocation
    Modifier and Type | Method and Description
    --- | ---
    `JsonLocation` | JsonParsingException.`getLocation()` Return the location of the incorrect JSON.
    `JsonLocation` | JsonParser.`getLocation()` Return the location that corresponds to the parser's current state in the JSON input source.

    Constructors in javax.json.stream with parameters of type JsonLocation
    Constructor and Description
    `JsonParsingException(String message, JsonLocation location)` Constructs a new runtime exception with the specified detail message.
    `JsonParsingException(String message, Throwable cause, JsonLocation location)` Constructs a new runtime exception with the specified detail message and cause.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.