<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>RebeccaAIML: C:/rebecca/src/samples/consoleHtmlConverter_tag_layer/HtmlConverterInternalProgrammerErrorException.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.5 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="annotated.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_C_3A_2Frebecca_2Fsrc_2F.html">src</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_C_3A_2Frebecca_2Fsrc_2Fsamples_2F.html">samples</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_C_3A_2Frebecca_2Fsrc_2Fsamples_2FconsoleHtmlConverter_5Ftag_5Flayer_2F.html">consoleHtmlConverter_tag_layer</a></div>
<h1>HtmlConverterInternalProgrammerErrorException.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef CUSTOMHTML_WEBPAGE_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define CUSTOMHTML_WEBPAGE_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">/*</span>
<a name="l00005"></a>00005 <span class="comment"> * RebeccaAIML, Artificial Intelligence Markup Language </span>
<a name="l00006"></a>00006 <span class="comment"> * C++ api and engine.</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> * Copyright (C) 2005 Frank Hassanabad</span>
<a name="l00009"></a>00009 <span class="comment"> *</span>
<a name="l00010"></a>00010 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00011"></a>00011 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span>
<a name="l00012"></a>00012 <span class="comment"> * License as published by the Free Software Foundation; either</span>
<a name="l00013"></a>00013 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span>
<a name="l00014"></a>00014 <span class="comment"> *</span>
<a name="l00015"></a>00015 <span class="comment"> * This library is distributed in the hope that it will be useful,</span>
<a name="l00016"></a>00016 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00017"></a>00017 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00018"></a>00018 <span class="comment"> * Lesser General Public License for more details.</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span>
<a name="l00021"></a>00021 <span class="comment"> * License along with this library; if not, write to the Free Software</span>
<a name="l00022"></a>00022 <span class="comment"> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA</span>
<a name="l00023"></a>00023 <span class="comment"> */</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="keyword">namespace </span>customTag
<a name="l00026"></a>00026 {
<a name="l00027"></a>00027 <span class="keyword">namespace </span>impl
<a name="l00028"></a>00028 {
<a name="l00029"></a>00029 
<a name="l00035"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html">00035</a> <span class="keyword">class </span><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html">HtmlConverterException</a> : <span class="keyword">public</span> Exception
<a name="l00036"></a>00036 {
<a name="l00037"></a>00037     <span class="keyword">public</span>: 
<a name="l00038"></a>00038         
<a name="l00045"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#0a318a7f4702279a75ecc6193d6dc89e">00045</a>         <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#0a318a7f4702279a75ecc6193d6dc89e">HtmlConverterException</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> msg = <span class="stringliteral">"Unknown exception"</span>)
<a name="l00046"></a>00046             : <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#665fcc5d0703e6a8f0c4d8094cd1418a">m_msg</a>(msg)
<a name="l00047"></a>00047         { }
<a name="l00048"></a>00048         
<a name="l00053"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#fbd0d21b59fa3dab735f1a0f38c901c7">00053</a>         <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#fbd0d21b59fa3dab735f1a0f38c901c7">what</a>() const throw()
<a name="l00054"></a>00054         {
<a name="l00055"></a>00055             <span class="keywordflow">return</span> <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#665fcc5d0703e6a8f0c4d8094cd1418a">m_msg</a>.c_str();
<a name="l00056"></a>00056         }   
<a name="l00057"></a>00057 
<a name="l00058"></a>00058     <span class="keyword">private</span>:
<a name="l00059"></a>00059 
<a name="l00064"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#665fcc5d0703e6a8f0c4d8094cd1418a">00064</a>         std::string <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html#665fcc5d0703e6a8f0c4d8094cd1418a">m_msg</a>;      
<a name="l00065"></a>00065 };
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 
<a name="l00073"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html">00073</a> <span class="keyword">class </span><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html">HtmlConverterProgrammerErrorException</a> : <span class="keyword">public</span> InternalProgrammerErrorException
<a name="l00074"></a>00074 {
<a name="l00075"></a>00075     <span class="keyword">public</span>:
<a name="l00076"></a>00076         
<a name="l00082"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#6d03c8187b9c9e1b419a21e69c7c9244">00082</a>         <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#6d03c8187b9c9e1b419a21e69c7c9244">HtmlConverterProgrammerErrorException</a>() 
<a name="l00083"></a>00083             : <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#acde88756dc77da00c062e2cfe5ca7a1">m_exception</a>(new <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html">HtmlConverterException</a>) { } 
<a name="l00084"></a>00084         
<a name="l00091"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#09e05557d060c3f82322342c7557bb8e">00091</a>         <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#6d03c8187b9c9e1b419a21e69c7c9244">HtmlConverterProgrammerErrorException</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> e)
<a name="l00092"></a>00092             : <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#acde88756dc77da00c062e2cfe5ca7a1">m_exception</a>(new <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_exception.html">HtmlConverterException</a>(e))
<a name="l00093"></a>00093         { }
<a name="l00094"></a>00094         
<a name="l00098"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#fbd0d21b59fa3dab735f1a0f38c901c7">00098</a>         <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#fbd0d21b59fa3dab735f1a0f38c901c7">what</a>() const throw()
<a name="l00099"></a>00099         {
<a name="l00100"></a>00100             <span class="keywordflow">return</span> <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#acde88756dc77da00c062e2cfe5ca7a1">m_exception</a>-&gt;what();
<a name="l00101"></a>00101         }
<a name="l00102"></a>00102 
<a name="l00103"></a>00103     <span class="keyword">private</span>:
<a name="l00104"></a>00104 
<a name="l00108"></a><a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#acde88756dc77da00c062e2cfe5ca7a1">00108</a>         shared_ptr&lt;Exception&gt; <a class="code" href="classcustom_tag_1_1impl_1_1_html_converter_programmer_error_exception.html#acde88756dc77da00c062e2cfe5ca7a1">m_exception</a>;
<a name="l00109"></a>00109 };
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 } <span class="comment">//end of namespace impl</span>
<a name="l00112"></a>00112 } <span class="comment">//end of namespace customTag</span>
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 
<a name="l00115"></a>00115 <span class="preprocessor">#endif</span>
<a name="l00116"></a>00116 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Apr 4 23:38:56 2006 for RebeccaAIML by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address>
</body>
</html>
