com.fasterxml.jackson.databind.exc.InvalidFormatException.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.databind.exc.InvalidFormatException.java

Source

package com.fasterxml.jackson.databind.exc;

import com.fasterxml.jackson.core.JsonLocation;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.JsonMappingException;

public class InvalidFormatException extends JsonMappingException {
    protected final Class<?> _targetType;
    protected final Object _value;

    public InvalidFormatException(String paramString, JsonLocation paramJsonLocation, Object paramObject,
            Class<?> paramClass) {
        super(paramString, paramJsonLocation);
        this._value = paramObject;
        this._targetType = paramClass;
    }

    public static InvalidFormatException from(JsonParser paramJsonParser, String paramString, Object paramObject,
            Class<?> paramClass) {
        return new InvalidFormatException(paramString, paramJsonParser.getTokenLocation(), paramObject, paramClass);
    }
}

/* Location:           /Users/dantheman/src/fffffffffattttt/basis/classes_dex2jar.jar
 * Qualified Name:     com.fasterxml.jackson.databind.exc.InvalidFormatException
 * JD-Core Version:    0.6.2
 */