Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skXMLParseException.h

00001 /*
00002   Copyright 1996-2003
00003   Simon Whiteside
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Lesser General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Lesser General Public License for more details.
00014 
00015     You should have received a copy of the GNU Lesser General Public
00016     License along with this library; if not, write to the Free Software
00017     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 * $Id: skXMLParseException_8h-source.html,v 1.5 2004/12/17 21:31:15 sdw Exp $
00020 */
00021 
00022 #ifndef sk_XMLPARSEEXCEPTION_H
00023 #define sk_XMLPARSEEXCEPTION_H
00024 
00025 #include "skException.h"
00026 
00027 const int skXMLParseException_Code=5;
00028 
00032 class CLASSEXPORT skXMLParseException : public skException
00033 {
00034  public:
00036   skXMLParseException (const skString& error,int line_num): m_Error(error),m_LineNum(line_num) {}
00038   int getLineNum() const { return m_LineNum; }
00040   skString getErrorMessage() const { return m_Error; }
00041   skString getMessage() const { return m_Error; }
00042   skString toString() const { return m_Error; }
00043  private:
00044   int m_LineNum;
00045   skString m_Error;
00046 };
00047 #endif

Generated on Fri Dec 17 20:28:26 2004 for Simkin C++ for Symbian by doxygen1.3