wsdlpull  1.23
XmlPullParserException.h
Go to the documentation of this file.
1 /* Copyright (c) 2005,2007 Vivek Krishna
2  * Permission is hereby granted, free of charge, to any person obtaining a copy
3  * of this software and associated documentation files (the "Software"), to deal
4  * in the Software without restriction, including without limitation the rights
5  * to use, copy, modify, merge, publish, distribute, sublicense, and/or
6  * sell copies of the Software, and to permit persons to whom the Software is
7  * furnished to do so, subject to the following conditions:
8  *
9  * The above copyright notice and this permission notice shall be included in
10  * all copies or substantial portions of the Software.
11  *
12  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
18  * IN THE SOFTWARE. */
19 
20 #ifndef _XMLPULLPARSEREXCEPTIONH
21 #define _XMLPULLPARSEREXCEPTIONH
22 
23 #include <string>
24 #include <iostream>
25 #ifdef HAVE_CONFIG_H //
26 #include <config.h>
27 #endif
28 #include "wsdlpull_export.h"
29 
31 {
32  public:
33  XmlPullParserException (std::string desc,
34  std::string STATE,
35  int l,
36  int c)
37  :state (STATE),
38  line(l),
39  col(c)
40  {
41  description = "Xml Parser Exception : " ;
42  description += desc;
43  }
45  {};
46  std::string description, state;
47  int line, col;
48 };
49 #endif /* */
XmlPullParserException(std::string desc, std::string STATE, int l, int c)
#define WSDLPULL_EXPORT