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 te/core/plugin/Exception.h
23
24 \brief Specific exception types for handling plugins.
25
26 \author Gilberto Ribeiro de Queiroz
27 \author Matheus Cavassan Zaglia
28 */
29
30#ifndef __TERRALIB_CORE_PLUGIN_EXCEPTION_H__
31#define __TERRALIB_CORE_PLUGIN_EXCEPTION_H__
32
33// TerraLib
34#include "../Exception.h"
35
36namespace te
37{
38 namespace core
39 {
40 //! An exception indicating an error when loading a plugin.
41 struct PluginLoadException: virtual Exception { };
42
43 //! An exception indicating an error when unloading a plugin.
44 struct PluginUnloadException: virtual Exception { };
45
46 //! An exception indicating an error when trying to start a plugin.
47 struct PluginStartupException: virtual Exception { };
48
49 //! An exception indicating an error when shutting down a plugin.
51
52 //! An exception indicating an error when loading a plugin.
54
55 //! An exception indicating an error when releasing a given plugin.
57
58 //! An exception indicating an error when a dependecy is missing
60
61 //! An exception indicating an error when two or more plugins have cyclic
62 //! dependecy
64
65 //! An exception indicating an error when trying to shutdown a plugin with a
66 //! dependent
68
69 //! An exception indicating that a plugin serializer with the same name was
70 //already registered in the system.
71 // struct plugin_serializer_already_registered_error: virtual exception { };
72
73 } // end namespace core
74} // end namespace te
75
76#endif // __TERRALIB_CORE_PLUGIN_EXCEPTION_H__
TerraLib.
Base exception class for TerraLib Core Runtime Library.
Definition: Exception.h:40
An exception indicating an error when two or more plugins have cyclic dependecy.
Definition: Exception.h:63
An exception indicating an error when loading a plugin.
Definition: Exception.h:53
An exception indicating an error when releasing a given plugin.
Definition: Exception.h:56
An exception indicating an error when trying to shutdown a plugin with a dependent.
Definition: Exception.h:67
An exception indicating an error when loading a plugin.
Definition: Exception.h:41
An exception indicating an error when a dependecy is missing.
Definition: Exception.h:59
An exception indicating an error when shutting down a plugin.
Definition: Exception.h:50
An exception indicating an error when trying to start a plugin.
Definition: Exception.h:47
An exception indicating an error when unloading a plugin.
Definition: Exception.h:44