Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Component/s: Deserializer
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Right now after deserialization of exception the cause of exception is always an instance of throwable and it does not depend on enable/disable default typying.
Here is a test case:
@Test
public void testCauseConcreteType() throws JsonProcessingException, IOException
It would be nice to have an option to register class and way of writing type information programmatically, same way as one can register Sub Types.
Yes, handling of Throwable predates polymorphic type handling, and needs to be upgraded.