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/vm/core/Exception.h
23
24 \brief Exception classes for the TerraLib Virtual Machine Library.
25
26 \author Frederico Augusto BedĂȘ
27 \author Gilberto Ribeiro de Queiroz
28 */
29
30#ifndef __TERRALIB_VM_CORE_EXCEPTION_H__
31#define __TERRALIB_VM_CORE_EXCEPTION_H__
32
33// TerraLib
34#include "../../Exception.h"
35
36namespace te
37{
38 namespace vm
39 {
40 namespace core
41 {
42 //! Base exception class for TerraLib Virtual Machine Library.
43 struct Exception: virtual te::Exception { };
44
45 //! An exception that tells that the virtual machine could not be created.
46 struct CreationException: virtual Exception { };
47
48 //! An exception that tells that the virtual machine could not build a script.
49 struct BuildException: virtual Exception { };
50
51 //! An exception that tells that the virtual machine could not run compiled script.
52 struct RunException: virtual Exception { };
53
54 }
55 } // end namespace core
56} // end namespace te
57
58#endif // __TERRALIB_VM_CORE_EXCEPTION_H__
TerraLib.
Base exception class for plugin module.
Definition: Exception.h:42
An exception that tells that the virtual machine could not build a script.
Definition: Exception.h:49
An exception that tells that the virtual machine could not be created.
Definition: Exception.h:46
Base exception class for TerraLib Virtual Machine Library.
Definition: Exception.h:43
An exception that tells that the virtual machine could not run compiled script.
Definition: Exception.h:52