Class JacksonJsonLogger
java.lang.Object
org.camunda.commons.logging.BaseLogger
org.camunda.spin.impl.logging.SpinLogger
org.camunda.spin.impl.json.jackson.JacksonJsonLogger
- Author:
- Thorben Lindhauer, Stefan Hentschel
-
Field Summary
Fields inherited from class org.camunda.spin.impl.logging.SpinLogger
CORE_LOGGER
Fields inherited from class org.camunda.commons.logging.BaseLogger
componentId, delegateLogger, projectCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionindexOutOfBounds
(Integer index, Integer size) invalidJsonPath
(Class<?> castClass, Exception cause) unableToCastJsonPathResultTo
(Class<?> castClass, Exception cause) unableToCompileJsonPathExpression
(String expression, Exception cause) unableToConstructJavaType
(String fromString, Exception cause) unableToCreateNode
(String objectType) unableToDeserialize
(com.fasterxml.jackson.databind.JsonNode jsonNode, com.fasterxml.jackson.databind.JavaType type, Exception cause) unableToDetectCanonicalType
(Object parameter) unableToFindProperty
(String propertyName) unableToGetIndex
(String nodeName) unableToMapInput
(Object input, Exception cause) unableToModifyNode
(String nodeName) unableToParseValue
(String expectedType, com.fasterxml.jackson.databind.node.JsonNodeType type) Exception handler if we are unable to parse a json value into a java representationunableToWriteJsonNode
(Exception cause) Methods inherited from class org.camunda.commons.logging.BaseLogger
createLogger, exceptionMessage, formatMessageTemplate, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, logDebug, logError, logInfo, logTrace, logWarn
-
Field Details
-
PROJECT_CODE
- See Also:
-
JSON_TREE_LOGGER
-
-
Constructor Details
-
JacksonJsonLogger
public JacksonJsonLogger()
-
-
Method Details
-
unableToParseInput
-
unableToParseValue
public SpinJsonDataFormatException unableToParseValue(String expectedType, com.fasterxml.jackson.databind.node.JsonNodeType type) Exception handler if we are unable to parse a json value into a java representation- Parameters:
expectedType
- Name of the expected Typetype
- Type of the json node- Returns:
- SpinJsonDataFormatException
-
unableToWriteJsonNode
-
unableToFindProperty
-
unableToCreateNode
-
unableToDeserialize
public SpinJsonException unableToDeserialize(com.fasterxml.jackson.databind.JsonNode jsonNode, com.fasterxml.jackson.databind.JavaType type, Exception cause) -
unableToConstructJavaType
-
unableToDetectCanonicalType
-
unableToMapInput
-
unableToModifyNode
-
unableToGetIndex
-
indexOutOfBounds
-
unableToEvaluateJsonPathExpressionOnNode
public SpinJsonPathException unableToEvaluateJsonPathExpressionOnNode(SpinJsonNode node, Exception cause) -
unableToCompileJsonPathExpression
-
unableToCastJsonPathResultTo
-
invalidJsonPath
-