Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6.0
-
None
-
None
-
Reviewed
Description
While deserialising a SerializedException it tries to create internal exception in instantiateException() with cn = cls.getConstructor(String.class).
if cls does not has a constructor with String parameter it throws Nosuchmethodexception
for example ClosedChannelException class.
We should also try to instantiate exception with default constructor so that inner exception can to propagated.