try { print "test\n" ; } catch CLASS with { print "alert\n" ; } ;