wsdlpull  1.23
WsdlException.h
Go to the documentation of this file.
1 /*
2  * wsdlpull - A C++ parser for WSDL (Web services description language)
3  * Copyright (C) 2005-2007 Vivek Krishna
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the Free
17  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  *
19  *
20  */
21 #ifndef _WSDLEXCEPTIONH
22 #define _WSDLEXCEPTIONH
23 
24 #include <string>
26 
27 
28 namespace WsdlPull {
29 
31 {
32 public:
33  WsdlException(std::string desc);
34  ~WsdlException() throw();
35 
36  std::string description;
37  int WsdlState;
38  int line, col;
39 };
40 
41 inline
43  :line(0),
44  col(0)
45 {
46  description = "WsdlParser Exception : ";
47  description += desc;
48 }
49 
50 inline
52 {
53 }
54 }
55 #endif /* */
WsdlPull::WsdlException::WsdlState
int WsdlState
Definition: WsdlException.h:37
WsdlPull
Definition: Binding.h:27
WsdlPull::WsdlException::description
std::string description
Definition: WsdlException.h:36
WSDLPULL_EXPORT
#define WSDLPULL_EXPORT
Definition: wsdlpull_export.h:33
WsdlPull::WsdlException::~WsdlException
~WsdlException()
Definition: WsdlException.h:51
WsdlPull::WsdlException
Definition: WsdlException.h:30
WsdlPull::WsdlException::WsdlException
WsdlException(std::string desc)
Definition: WsdlException.h:42
wsdlpull_export.h
WsdlPull::WsdlException::line
int line
Definition: WsdlException.h:38