Improve Exception.supportsObject method