List of usage examples for com.fasterxml.jackson.databind.node JsonNodeType toString
public String toString()
From source file:org.camunda.spin.impl.json.jackson.JacksonJsonLogger.java
/** * Exception handler if we are unable to parse a json value into a java representation * * @param expectedType Name of the expected Type * @param type Type of the json node/* w ww . j a v a2 s. c o m*/ * @return SpinJsonDataFormatException */ public SpinJsonDataFormatException unableToParseValue(String expectedType, JsonNodeType type) { return new SpinJsonDataFormatException( exceptionMessage("002", "Expected '{}', got '{}'", expectedType, type.toString())); }