File:  [parser3project] / parser3 / tests / 334.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Fri Jun 17 13:28:27 2016 UTC (10 years ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, HEAD
Exception stack trace test added (related to bug in $1062)

@main[]

^try{
    ^no-such-method[]
}{
    ^method[]
}

@method[]
^no-such-method2[]

@unhandled_exception[exception;stack]
Unhandled Exception: $exception.type
Source: $exception.source
Comment: $exception.comment
^if(def $exception.file){File: ^exception.file.match[.*/][]{}^(${exception.lineno}:$exception.colno^)}
^if($stack){^stack.menu{	$stack.name	^stack.file.match[.*/][]{}^(${stack.lineno}:$stack.colno^)
}}


E-mail: