new method `exceptions` added to the library, accepting the exception
classes returned by the Method method.
supports method exceptions from exception classes