1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=UTF-8">
3 <title>LibSylph: Sylph::IllegalStateException Class Reference
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.5.8 -->
7 <div class=
"navigation" id=
"top">
10 <li><a href=
"index.html"><span>Main
Page
</span></a></li>
11 <li><a href=
"namespaces.html"><span>Namespaces
</span></a></li>
12 <li class=
"current"><a href=
"classes.html"><span>Classes
</span></a></li>
13 <li><a href=
"files.html"><span>Files
</span></a></li>
14 <li><a href=
"pages.html"><span>Related
Pages
</span></a></li>
19 <li><a href=
"classes.html"><span>Class
Index
</span></a></li>
20 <li><a href=
"hierarchy.html"><span>Class
Hierarchy
</span></a></li>
21 <li><a href=
"functions.html"><span>Class
Members
</span></a></li>
24 <div class=
"navpath"><a class=
"el" href=
"namespace_sylph.html">Sylph
</a>::
<a class=
"el" href=
"class_sylph_1_1_illegal_state_exception.html">IllegalStateException
</a>
27 <div class=
"contents">
28 <h1>Sylph::IllegalStateException Class Reference
</h1><!-- doxytag: class="Sylph::IllegalStateException" --><!-- doxytag: inherits="Sylph::Exception" -->Generic exception to flag that a method is not supported in the current state of the object it is invoked on.
29 <a href=
"#_details">More...
</a>
31 <code>#include
<<a class=
"el" href=
"_exception_8h-source.html">Sylph/Core/Exception.h
</a>></code>
33 <div class=
"dynheader">
34 Inheritance diagram for Sylph::IllegalStateException:
</div>
35 <div class=
"dynsection">
36 <p><center><img src=
"class_sylph_1_1_illegal_state_exception__inherit__graph.png" border=
"0" usemap=
"#_sylph_1_1_illegal_state_exception__inherit__map" alt=
"Inheritance graph"></center>
37 <map name=
"_sylph_1_1_illegal_state_exception__inherit__map">
38 <area shape=
"rect" id=
"node2" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling." alt=
"" coords=
"44,5,177,35"></map>
39 <center><font size=
"2">[
<a href=
"graph_legend.html">legend
</a>]
</font></center></div>
42 <a href=
"class_sylph_1_1_illegal_state_exception-members.html">List of all members.
</a><table border=
"0" cellpadding=
"0" cellspacing=
"0">
44 <tr><td colspan=
"2"><br><h2>Public Member Functions
</h2></td></tr>
45 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">virtual const char *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"class_sylph_1_1_illegal_state_exception.html#8e46190d7b17a2f8b62c4dd51ef83508">name
</a> () const throw ()
</td></tr>
47 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Returns the class name of this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a>.
<a href=
"#8e46190d7b17a2f8b62c4dd51ef83508"></a><br></td></tr>
48 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">const char *
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"class_sylph_1_1_exception.html#3b56cc13b4004aa72e7ea86f034f968c">what
</a> () const throw ()
</td></tr>
50 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Returns the reason why this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a> was thrown, i.e. the second parameter to
<code>sthrow()
</code>.
<a href=
"#3b56cc13b4004aa72e7ea86f034f968c"></a><br></td></tr>
51 <tr><td class=
"memItemLeft" nowrap
align=
"right" valign=
"top">void
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"class_sylph_1_1_exception.html#1038e3fb0e96d4733beb0ea03c4aad04">addTraceMessage
</a> (const char *message) const throw ()
</td></tr>
53 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">This function adds a message to the trace information inside this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a>.
<a href=
"#1038e3fb0e96d4733beb0ea03c4aad04"></a><br></td></tr>
55 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
56 Generic exception to flag that a method is not supported in the current state of the object it is invoked on.
<hr><h2>Member Function Documentation
</h2>
57 <a class=
"anchor" name=
"1038e3fb0e96d4733beb0ea03c4aad04"></a><!-- doxytag: member="Sylph::IllegalStateException::addTraceMessage" ref="1038e3fb0e96d4733beb0ea03c4aad04" args="(const char *message) const " -->
59 <div class=
"memproto">
60 <table class=
"memname">
62 <td class=
"memname">void Sylph::Exception::addTraceMessage
</td>
64 <td class=
"paramtype">const char *
</td>
65 <td class=
"paramname"> <em>message
</em> </td>
66 <td> )
</td>
67 <td> const throw ()
<code> [inline, inherited]
</code></td>
74 This function adds a message to the trace information inside this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a>.
76 It can be useful to add the name of a function the
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a> passes through (i.e. what
<code>strace
</code> does), or any other information you like to add to the
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a>. This information is purely diagnostic.
<dl compact
><dt><b>Parameters:
</b></dt><dd>
77 <table border=
"0" cellspacing=
"2" cellpadding=
"0">
78 <tr><td valign=
"top"></td><td valign=
"top"><em>message
</em> </td><td>The message to add in the traceinfo log.
</td></tr>
84 <a class=
"anchor" name=
"8e46190d7b17a2f8b62c4dd51ef83508"></a><!-- doxytag: member="Sylph::IllegalStateException::name" ref="8e46190d7b17a2f8b62c4dd51ef83508" args="() const " -->
86 <div class=
"memproto">
87 <table class=
"memname">
89 <td class=
"memname">virtual const char* Sylph::IllegalStateException::name
</td>
91 <td class=
"paramname"> </td>
92 <td> )
</td>
93 <td> const throw ()
<code> [inline, virtual]
</code></td>
100 Returns the class name of this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a>.
102 If you used the
<code> S_CREATE_EXCEPTION(
</code><em>name
</em><code>)
</code> macro, this will be automatically filled in for you. Otherwise you'll have to put in the name yourself. This is purely diagnostic information.
<dl class=
"return" compact
><dt><b>Returns:
</b></dt><dd>The name of the class of this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a>.
</dd></dl>
104 <p>Reimplemented from
<a class=
"el" href=
"class_sylph_1_1_exception.html#16528d47441cf5ffb45bcdbd119d1661">Sylph::Exception
</a>.
</p>
108 <a class=
"anchor" name=
"3b56cc13b4004aa72e7ea86f034f968c"></a><!-- doxytag: member="Sylph::IllegalStateException::what" ref="3b56cc13b4004aa72e7ea86f034f968c" args="() const " -->
109 <div class=
"memitem">
110 <div class=
"memproto">
111 <table class=
"memname">
113 <td class=
"memname">const char* Sylph::Exception::what
</td>
115 <td class=
"paramname"> </td>
116 <td> )
</td>
117 <td> const throw ()
<code> [inline, inherited]
</code></td>
124 Returns the reason why this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a> was thrown, i.e. the second parameter to
<code>sthrow()
</code>.
126 <dl class=
"return" compact
><dt><b>Returns:
</b></dt><dd>The reason why this
<a class=
"el" href=
"class_sylph_1_1_exception.html" title=
"This class provides a ready-to-use interface for exception handling.">Exception
</a> was thrown.
</dd></dl>
131 <hr size=
"1" class=
"unhidden"><address style=
"text-align: right;"><small>
132 Documentation for LibSylph by Doxygen