run an individual verifier test against a declared method of the
remote interface.
Class[] methodExceptionTypes = method.getExceptionTypes();
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
// The methods arguments types must be legal types for
// RMI-IIOP. This means that their exception values must
// throw java.rmi.RemoteException
// methods must also throw java.rmi.RemoteException
if (RmiIIOPUtils.isValidRmiIIOPException(methodExceptionTypes)) {
// this is the right exception for method, throws RemoteException
addGoodDetails(result, compName);
result.passed(smh.getLocalString
(getClass().getName() + ".passed",
"[ {0} ] method properly throws java.rmi.RemoteException.",
new Object[] {method.getName()}));
} else {
addErrorDetails(result, compName);
result.failed(smh.getLocalString
(getClass().getName() + ".failed",
"Error: [ {0} ] method was found, but does not properly throw " +
"java.rmi.RemoteException.",
new Object[] {method.getName()}));
}