Glowworm27
Programmer
I was hoping someone could clarify something for me.
I was reading the Online Documentation about dealing with exceptions and I was wondering about the When Others Exception.
If I do not list any other type of exception in my Exception block, will the When Others Exception catch ALL errors?
or do I need at least one other type of exception preceding the When Others Statement?
Thanks in advance
George Oakes
Check out this awsome .Net Resource!
I was reading the Online Documentation about dealing with exceptions and I was wondering about the When Others Exception.
If I do not list any other type of exception in my Exception block, will the When Others Exception catch ALL errors?
Code:
EXCEPTION
When Others Then
err_msg := SUBSTR(SQLERRM, 1, 200);
Insert Into Payroll_Exceptions
Values(Payroll_Exception_ID_Seq.Nextval, systimestamp, 'spInsertLabor_Dist', err_msg , oCreateDate, Null, Null, Null);
or do I need at least one other type of exception preceding the When Others Statement?
Thanks in advance
George Oakes
Check out this awsome .Net Resource!