procedure RegisterExceptionMethod(Info: PTypeInfo; AClass: TClass; const MethodName: string);
void __fastcall RegisterExceptionMethod(System::Typinfo::PTypeInfo Info, System::TClass AClass, const System::UnicodeString MethodName);
Registers methods of an invokable interface that can raise a registered exception class.
Call RegisterExceptionMethod for each method of an invokable interface that can raise a registered exception class. The exception class must be previously registered by a call to the RegisterException method. If you do not call RegisterExceptionMethod, then the WSDL document for the interface treats the exception as associated with all methods of the interface. If you want to limit the use of the exception to a subset of the methods, call RegisterExceptionMethod for each method that can raise the exception. After the first method is registered this way, the exception becomes limited to that method alone (and to any method subsequently registered by another call to RegisterExceptionMethod).
Info points to the type information of the invokable interface that can raise the exception.
AClass describes the exception class. This must be the class reference used to register the exception previously by a call to the RegisterException method.
MethodName is the name of a method that can raise the exception.