|
|
| version 1.27, 2002/03/26 13:08:30 | version 1.28, 2002/03/27 15:30:39 |
|---|---|
| Line 7 $response:charset[windows-1251] | Line 7 $response:charset[windows-1251] |
| $response:content-type[$.value[text/html]$.charset[$response:charset]] | $response:content-type[$.value[text/html]$.charset[$response:charset]] |
| @main[] | @main[] |
| ^roll2[] | ^exceptionTypes[] |
| #^roll2[] | |
| #^rolls[] | #^rolls[] |
| #^exceptions1[] | #^exceptions1[] |
| #^locate_by_expr[] | #^locate_by_expr[] |
| Line 111 $response:content-type[$.value[text/html | Line 112 $response:content-type[$.value[text/html |
| <hr> | <hr> |
| OK | OK |
| @exceptionTypes[] | |
| # parser.compile ^test[} компиляция (непарная скобка, ...) | |
| # parser.runtime ^if(0). параметры (больше/меньше, чем нужно, не тех типов, ...) | |
| # number.zerodivision ^eval(1/0) ^eval(1%0) | |
| # number.format ^eval(abc*5) | |
| # file.missing ^file:delete[delme] not found | |
| # file.access ^table::load[.] no rights | |
| # image.format ^image::measure[index.html] not gif/jpg | |
| # sql.connect ^connect[mysql://baduser:pass@host/db]{} not found/timeout | |
| # sql.execute ^connect[mysql://okuser:pass@host/db]{^void:sql{select bad}} syntax error | |
| # xml ^xdoc::create{<forgot?>} any error in xml/xslt libs | |
| # smtp.connect not found/timeout | |
| # smtp.execute communication error | |
| @roll2[] | @roll2[] |
| $d[^date::create(2002;4;2;2;2;3)] ^d.sql-string[]<br> | $d[^date::create(2002;4;2;2;2;3)] ^d.sql-string[]<br> |
| ^d.roll[day](+365*3+1) ^d.sql-string[]<br> | ^d.roll[day](+365*3+1) ^d.sql-string[]<br> |
| Line 156 $d[^date::create(2002;10;19)] | Line 171 $d[^date::create(2002;10;19)] |
| ^throw[custom1;paf;is stupid] | ^throw[custom1;paf;is stupid] |
| }{ | }{ |
| ^if($exception.type eq custom1){ | ^if($exception.type eq custom1){ |
| $exception.handled(1) | # $exception.handled(1) |
| # ^throw[$exception] | ^throw[$exception] |
| type=$exception.type<br> | type=$exception.type<br> |
| source=$exception.source<br> | source=$exception.source<br> |
| file=$exception.file<br> | file=$exception.file<br> |