Question

I recently upgraded the Apache Commons version of my project (commons-lang) from version 2.3 to version 3.3.1 (latest stable).

In my code there was usage of specific Exception like UnhandledException and I am just wondering which is the replacement of such exception if I use the latest version because I got plenty of errors due to that usage.

There is other Exceptions defined in the version 3 but nothing similar to this one.

Was it helpful?

Solution

UnhandledException is a NestableRuntimeException, and in 3.0 they completely removed support for nested exceptions, so I don't think you're going to find a replacement:

http://commons.apache.org/proper/commons-lang/article3_0.html#Whats_gone

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top