public SpinJsonTreePropertyException unableToCreateNode(String objectType) {
return new SpinJsonTreePropertyException(exceptionMessage("005", "Unable to create node for object of type '{}'", objectType));
}
public SpinJsonTreeNodeException unableToDeserialize(JsonNode jsonNode, JavaType type, Exception cause) {
return new SpinJsonTreeNodeException(
exceptionMessage("006", "Cannot deserialize '{}...' to java type '{}'",
jsonNode.toString().substring(0, 10), type), cause);
}