In the OPAL-Framework, is how can I get all thrown exceptions from a method or its descriptor? I could not find any method returning them.
I am only interested in those exceptions, which are listed in the throws-declaration of the method.
In the OPAL-Framework, is how can I get all thrown exceptions from a method or its descriptor? I could not find any method returning them.
I am only interested in those exceptions, which are listed in the throws-declaration of the method.
The
Method
object provides the methodexceptionTable
which return an Option of the typeExceptionTable
. If the table is not empty, it contains the list of declared exceptions.