Exceptions: Difference between revisions

Content added Content deleted
Line 997: Line 997:


'''Catching any exception'''
'''Catching any exception'''
<lang elena>o.foo() | if:(e)
<lang elena>o.foo() | on:(e)
{
{
// handle any type of exception
// handle any type of exception