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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top