--- parser3/www/htdocs/Attic/index.html 2002/03/11 07:53:17 1.18 +++ parser3/www/htdocs/Attic/index.html 2002/03/25 11:38:02 1.24 @@ -7,9 +7,11 @@ $response:charset[windows-1251] $response:content-type[$.value[text/html]$.charset[$response:charset]] @main[] +^exceptions1[] +#^locate_by_expr[] #^method_junction_params{...} #^verifyCookie[paf] -^execlangs[] +#^execlangs[] #$t[^tobjeresult[]]$t.a #^xmlprobs[] #^doubleprobs[] @@ -107,6 +109,30 @@ $response:content-type[$.value[text/html
OK +@exceptions1[] +^try{ + aaa + ^throw[custom1;paf;is stupid] +}{ + ^if($exception.type eq custom1){ + $exception.handled(1) +# ^throw[$exception] + type=$exception.type
+ source=$exception.source
+ file=$exception.file
+ lineno=$exception.lineno
+ comment=$exception.comment
+ } +} + +@locate_by_expr[] +$t[^table::create{a b +1 nok +2 ok +3 nok +}] +^if(^t.locate($t.a==2)){$t.b}{n} + @method_junction_params[param] ^if($param is junction){junction}{ne junction}