Example usage for com.fasterxml.jackson.core FakeJsonProcessingException FakeJsonProcessingException

List of usage examples for com.fasterxml.jackson.core FakeJsonProcessingException FakeJsonProcessingException

Introduction

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

Prototype

public FakeJsonProcessingException(String msg, byte[] srcRef, int line, int column) 

Source Link

Usage

From source file:org.bonitasoft.web.designer.controller.PageResourceTest.java

private MalformedJsonException aMalformedJsonException(byte[] bytes, int errorLine, int errorColumn) {
    return new MalformedJsonException(
            new FakeJsonProcessingException("Error while checking json", bytes, errorLine, errorColumn));
}