2 Copyright (c) 2000-2015 Ericsson Telecom AB
4 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 which accompanies this distribution, and is available at
7 http://www.eclipse.org/legal/epl-v10.html
11 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
12 <meta http-equiv=
"Content-Language" content=
"en-us">
15 <body bgcolor=
"#DAD3C5" vlink=
"#0094D2" link=
"#003258">
16 <table align=
"left" border=
"0" cellspacing=
"0" cellpadding=
"0" valign=top
>
18 <td width=
105 height=
40><a href=
"https://projects.eclipse.org/projects/tools.titan"><img src=
"../images/titan_transparent.gif" border=
0 width=
105 height=
40 align=
"left" alt=
"Titan"></a></td>
21 <table border=
"0" align=
"right" cellpadding=
"0" cellspacing=
"0">
23 <td><a href=
"../titan_main.html" alt=
"contents"><img border=
"0" src=
"../images/ao.jpg" width=
"53" height=
"40"></a></td>
24 <td><a href=
"../titan_index.html" alt=
"index"><img border=
"0" src=
"../images/up.jpg" width=
"53" height=
"40"></a></td>
25 <td><a alt=
"previous" href=
"enumerated.html"><img border=
"0" src=
"../images/left.jpg" width=
"53" height=
"40"></a></td>
26 <td><a href=
"except.html" alt=
"next"><img border=
"0" src=
"../images/right.jpg" width=
"53" height=
"40"></a></td>
33 <p>The keyword
<b><font face=
"Courier New">error
</font></b> denotes one of the distinguished values of
<a href=
"verdicttype.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">verdicttype
</font></b></a>.
</p>
35 <li>It is set by the test system (returned by the operation
<a href=
"execute.html"><b><font face=
"Courier New">execute
</font></b></a>) to indicate that a run-time error has occurred.
</li>
36 <li>It is also returned by the above operation when a test case started with a guard timer has not finished within the given time limit.
</li>
37 <li>It shall not be set by the
<a href=
"setverdict.html"><b><font face=
"Courier New">setverdict
</font></b></a> operation and will not be returned by the
<a href=
"getverdict.html"><b><font
38 face=
"Courier New">getverdict
</font></b></a> operation.
</li>
40 <p>Related keywords:
</p>
42 <li><a href=
"execute.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">execute
</font></b></a></li>
43 <li><a href=
"fail.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">fail
</font></b></a></li>
44 <li><a href=
"getverdict.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">getverdict
</font></b></a></li>
45 <li><a href=
"inconc.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">inconc
</font></b></a></li>
46 <li><a href=
"none.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">none
</font></b></a></li>
47 <li><a href=
"pass.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">pass
</font></b></a></li>
48 <li><a href=
"setverdict.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">setverdict
</font></b></a></li>
49 <li><a href=
"verdicttype.html"><b><font face=
"Courier New" color=
"#003258" size=
"4">verdicttype
</font></b></a></li>
51 <hr align=
"left" width=
"50%">
54 <table border=
"0" width=
"90%" bgcolor=
"#FFB599" cellpadding=
"4">
57 <h3 align=
"center"><font face=
"Courier New" color=
"#003258" size=
"5"><b>error
</b></font></h3>
63 <hr align=
"left" width=
"50%">
64 <p><a name=
"double_quotation">Example
1</a>:
65 <p><font face=
"Courier New">var verdicttype v_dyrbart;
<br>
66 v_dyrbart := execute(tc_vizsgaalat);
<br>
68 <p>There was a programming error when the test case tc_vizsgaalat was executed, thus, the variable v_dyrbart will hold the value error.
</p>
69 <hr align=
"left" width=
"25%">
70 <hr align=
"left" width=
"25%">
71 <p align=
"left"><a HREF=
"BNF.html#verdicttypevalue">BNF definition
</a> of
<font face=
"Courier New">error
</font></p>