Exception handling and debugging

PowerBuilder Native Interface

Exception handling and debugging

TRY
   n_cpp_pbniobj obj
   obj = CREATE n_cpp_pbniobj
   obj.of_test( arg1 )
CATCH ( PBXRuntimeError re )
   MessageBox( "Caught error", re.getMessage() )
END TRY

Debugging