HasExceptionThrown

PowerBuilder Native Interface

IPB_Session interface:

HasExceptionThrown method

Description

Syntax

HasExceptionThrown()

Return Values

Examples

try
{
   session->InvokeObjectFunction(pbobj, mid, &ci);
   // Was PB exception thrown?
   if (session-> HasExceptionThrown())
   {
       // Handle PB exception
       session-> ClearException();
   }
}

See Also