#include "aprobe.h"
Probe thread
{
     probe "MyRoutine::DoSomething"
    {
    on_line(32)
       ap_ThrowCppStringException("Application Error");
    }
}

Example 6: Throwing an exception at line 32.

Back to Article