Class JsonDecodingExceptionFormatter
- java.lang.Object
-
- tech.greenfield.vertx.irked.helpers.JsonDecodingExceptionFormatter
-
public class JsonDecodingExceptionFormatter extends Object
-
-
Constructor Summary
Constructors Constructor Description JsonDecodingExceptionFormatter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdescribeLocation(List<com.fasterxml.jackson.databind.JsonMappingException.Reference> path, com.fasterxml.jackson.core.JsonLocation loc)static StringdescribePath(List<com.fasterxml.jackson.databind.JsonMappingException.Reference> path)static StringformatFriendlyErrorMessage(io.vertx.core.json.DecodeException e)static StringformatInvalidFormatMessage(com.fasterxml.jackson.databind.exc.InvalidFormatException e)static StringformatJsonMappingMessage(com.fasterxml.jackson.databind.JsonMappingException e)static StringformatUnrecognizedPropertyMessage(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException e)
-
-
-
Method Detail
-
formatFriendlyErrorMessage
public static String formatFriendlyErrorMessage(io.vertx.core.json.DecodeException e)
-
formatInvalidFormatMessage
public static String formatInvalidFormatMessage(com.fasterxml.jackson.databind.exc.InvalidFormatException e)
-
formatJsonMappingMessage
public static String formatJsonMappingMessage(com.fasterxml.jackson.databind.JsonMappingException e)
-
formatUnrecognizedPropertyMessage
public static String formatUnrecognizedPropertyMessage(com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException e)
-
describeLocation
public static String describeLocation(List<com.fasterxml.jackson.databind.JsonMappingException.Reference> path, com.fasterxml.jackson.core.JsonLocation loc)
-
-