throws clause.
For example an exception can be inappropriate because it is overly generic,
such as java.lang.Exception or java.lang.Throwable.
Example:
void describeModule(String module) throws Exception {} // warning: Prohibited exception 'Exception' declared
Configure the inspection: