Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
n/a
Description
FiddlerImpl does this
-------------------
private void handleActivatableInitThrowable(Throwable t) throws IOException, ActivationException, ConfigurationException, LoginException, ClassNotFoundException { handleInitThrowable(t); if (t instanceof ActivationException) { throw (ActivationException)t; } else if (t instanceof LoginException) { throw (ClassNotFoundException)t; } else { throw new AssertionError(t); }//endif
-----------------
the concerning part is
} else if (t instanceof LoginException) { throw (ClassNotFoundException)t;
if t is an instanceof LoginException, i don't think it can be cast to ClassNotFoundException.