Loading...
Searching...
No Matches
Exception.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3
4 This file is part of the TerraLib - a Framework for building GIS enabled applications.
5
6 TerraLib is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License,
9 or (at your option) any later version.
10
11 TerraLib is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with TerraLib. See COPYING. If not, write to
18 TerraLib Team at <terralib-team@terralib.org>.
19 */
20
21/*!
22 \file terralib/core/lib/Exception.h
23
24 \brief Specific exception types for Library Manager.
25
26 \author Gilberto Ribeiro de Queiroz
27 */
28
29#ifndef __TERRALIB_CORE_LIB_EXCEPTION_H__
30#define __TERRALIB_CORE_LIB_EXCEPTION_H__
31
32// TerraLib
33#include "../Exception.h"
34
35namespace te
36{
37 namespace core
38 {
39 //! An execption indicating an error when the library name is empty.
40 struct LibraryNameException: virtual Exception { };
41
42 //! An exception indicating an error when loading a shared library.
43 struct LibraryLoadException: virtual Exception { };
44
45 //! An exception indicating an error when releasing a shared library.
46 struct LibraryUnloadException: virtual Exception { };
47
48 //! An exception indicating an error when searching for a given symbol in a shared library.
50
51 //! An exception indicating an error when adding a given path to the operational system search library path.
53
54 //! An exception indicating an error when reseting the operational system search library path.
56
57 //! An exception indicating the operational system search library path was not found.
59
60 } // end namespace core
61} // end namespace te
62
63#endif // __TERRALIB_CORE_LIB_EXCEPTION_H__
TerraLib.
Base exception class for TerraLib Core Runtime Library.
Definition: Exception.h:40
An exception indicating an error when adding a given path to the operational system search library pa...
Definition: Exception.h:52
An exception indicating an error when loading a shared library.
Definition: Exception.h:43
An execption indicating an error when the library name is empty.
Definition: Exception.h:40
An exception indicating an error when reseting the operational system search library path.
Definition: Exception.h:55
An exception indicating the operational system search library path was not found.
Definition: Exception.h:58
An exception indicating an error when searching for a given symbol in a shared library.
Definition: Exception.h:49
An exception indicating an error when releasing a shared library.
Definition: Exception.h:46