wsdlpull 1.23
Loading...
Searching...
No Matches
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
28namespace WsdlPull {
29
31{
32public:
33 WsdlException(std::string desc);
34 ~WsdlException() throw();
35
36 std::string description;
38 int line, col;
39};
40
41inline
43 :line(0),
44 col(0)
45{
46 description = "WsdlParser Exception : ";
47 description += desc;
48}
49
50inline
52{
53}
54}
55#endif /* */
WsdlException(std::string desc)
#define WSDLPULL_EXPORT