PowerBuilder · Exception

PBXRuntimeError System Exception

What does PBXRuntimeError System Exception mean in PowerBuilder?

Thrown when a PowerBuilder extension (PBX/PBNI DLL) raises an unknown or unclassified error while a script is calling into it. The object carries an extra DLLName property identifying which extension DLL produced the failure, distinguishing it from ordinary PowerBuilder runtime errors.

PBXRuntimeError System ExceptionPowerBuilder Classic · Appeon PowerBuilder

Condition

Thrown when a PowerBuilder extension (PBX/PBNI DLL) raises an unknown or unclassified error while a script is calling into it. The object carries an extra DLLName property identifying which extension DLL produced the failure, distinguishing it from ordinary PowerBuilder runtime errors.

Fix

Catch PBXRuntimeError separately from generic RuntimeError so the DLLName property can be logged and used to isolate which third-party or custom native extension is misbehaving. Confirm the extension DLL version matches the PowerBuilder build before assuming an application bug.

Related exception