3
<TITLE>class exception</TITLE>
5
<META NAME="Generator" CONTENT="KDOC ">
7
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
8
<TABLE WIDTH="100%" BORDER="0">
12
<TR><TD valign="top" align="left" cellspacing="10">
13
<h1>class exception</h1>
15
<TD valign="top" align="right" colspan="1"> Class that could be used to throw exceptions in connection errors. <small><A HREF="#longdesc">More...</A></small></TD></TR>
19
<TR><TH>Full name</TH><TD><code><A HREF="toConnection.html">toConnection</A>::exception</code></TD></TR>
20
<TR><TH>Definition</TH><TD><code>#include <<A HREF="toconnection_h.html">toconnection.h</A>></code></TD></TR>
21
<TR><TH>Inherits</TH><TD><A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> <small>(qt)</small> <small>[public ]</small></TD></TR>
22
<TR><TH><A HREF="full-list-toConnection__exception.html">List of all Methods</A></TH></TR>
25
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
26
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
27
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
28
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
29
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
30
</TABLE></TD></TR></TABLE>
31
<h4>Public Methods</h4><ul><LI> <b><A HREF="#ref2">exception</A></b> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str,int offset=-1)
33
<LI>int <b><A HREF="#ref3">offset</A></b> (void) const
35
<LI>void <b><A HREF="#ref4">setOffset</A></b> (int offset)
37
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Class that could be used to throw exceptions in connection errors. Must use if you
38
want to indicate error offset.
40
<A NAME="exception"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>exception</strong> (const <A HREF="/usr/lib/qt3/doc/html/qstring.html">QString</A> &str,int offset=-1)
41
<br></td><td align="right"><h3><strong>exception</strong></h3></td></tr></table><p></p><p> Create an exception with a string description.
43
<A NAME="offset"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>int <strong>offset</strong> (void)
44
<br></td><td align="right"><h3><strong>offset</strong></h3></td></tr></table><p> <small>[const]</small></p><p> Get the offset of the error of the current statement.
46
<A NAME="setOffset"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setOffset</strong> (int offset)
47
<br></td><td align="right"><h3><strong>setOffset</strong></h3></td></tr></table><p></p><p> Set the offset of the error of the error.
51
<tr><td><small>Generated by: nneul on skyhawk on Wed Feb 23 19:49:58 2005, using kdoc 2.0a54.</small></td></tr>