Example usage for com.fasterxml.jackson.core JsonLocation toString

List of usage examples for com.fasterxml.jackson.core JsonLocation toString

Introduction

In this page you can find the example usage for com.fasterxml.jackson.core JsonLocation toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:org.emfjson.jackson.errors.JSONException.java

public JSONException(Exception e, JsonLocation location) {
    super(e);/*from   w w  w .j  a  v  a2s .c om*/
    this.location = location.toString();
    this.line = location.getLineNr();
    this.column = location.getColumnNr();
}

From source file:org.emfjson.jackson.errors.JSONException.java

public JSONException(String message, JsonLocation location) {
    super(message);
    this.location = location.toString();
    this.line = location.getLineNr();
    this.column = location.getColumnNr();
}