MappingException
malformed error message in log
#3834
Labels
Bug
This is a bug or an unexpected behaviour. Fix it!
MappingException
malformed error message in log
#3834
Describe the bug
While throwing
MappingException
a malformed error message is printed.For example throw
new MappingException(StorableErrorCodes.INVALID_VALUE, "arg1", "arg2")
logsException in thread "main" org.eclipse.kapua.service.storable.exception.MappingException: The value of mapping arg1 of value arg2 is not compatible with type {2}
.MappingException
is not throwed anywhere in the code, but its subclasses (InvalidValueMappingException
andUnsupportedTypeMappingException
) are. For example inMappingUtils.java
there isthrow new InvalidValueMappingException(e, name, value, Date.class)
.The text was updated successfully, but these errors were encountered: