GEOS
3.3.3
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
geos
util
IllegalArgumentException.h
1
/**********************************************************************
2
* $Id: IllegalArgumentException.h 2556 2009-06-06 22:22:28Z strk $
3
*
4
* GEOS - Geometry Engine Open Source
5
* http://geos.refractions.net
6
*
7
* Copyright (C) 2001-2002 Vivid Solutions Inc.
8
* Copyright (C) 2006 Refractions Research Inc.
9
*
10
* This is free software; you can redistribute and/or modify it under
11
* the terms of the GNU Lesser General Public Licence as published
12
* by the Free Software Foundation.
13
* See the COPYING file for more information.
14
*
15
**********************************************************************/
16
17
#ifndef GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
18
#define GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
19
20
#include <geos/export.h>
21
#include <string>
22
23
#include <geos/util/GEOSException.h>
24
25
namespace
geos {
26
namespace
util {
// geos::util
27
35
class
GEOS_DLL
IllegalArgumentException
:
public
GEOSException
{
36
public
:
37
IllegalArgumentException
()
38
:
39
GEOSException
(
"IllegalArgumentException"
,
""
)
40
{}
41
42
IllegalArgumentException
(
const
std::string& msg)
43
:
44
GEOSException
(
"IllegalArgumentException"
, msg)
45
{}
46
47
~
IllegalArgumentException
()
throw
() {};
48
};
49
50
}
// namespace geos::util
51
}
// namespace geos
52
53
54
#endif // GEOS_UTIL_ILLEGALARGUMENTEXCEPTION_H
55
56
/**********************************************************************
57
* $Log$
58
* Revision 1.2 2006/04/04 08:16:46 strk
59
* Changed GEOSException hierarchy to be derived from std::runtime_exception.
60
* Removed the GEOSException::toString redundant method (use ::what() instead)
61
*
62
* Revision 1.1 2006/03/09 16:46:49 strk
63
* geos::geom namespace definition, first pass at headers split
64
*
65
**********************************************************************/
Generated on Thu Mar 13 2014 09:55:44 for GEOS by
1.8.1.2