I have some code that checks for a custom object and if it doesn't exist I just trap it and continue on. The problem is everytime I run it in the PB IDE it will throw an exception error. If it is running in the EXE then the error is trapped correctly. Does the PB IDE not abide by the TRY-CATCH rules? Following is my code with the error I receive in the IDE:
nvoCustomWF = CREATE USING "v_custom_workflow"
CATCH (throwable e1)
// Catch error if object does not exist so the SystemError event does not fire!
// If Not Valid then set Shared Variable to NO so we don't try again!
IF NOT IsValid(nvoCustomWF) THEN
sbCreateCustomWF = FALSE