NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkExceptionObject.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkExceptionObject_h
16 #define niftkExceptionObject_h
17 
18 #include <stdexcept>
19 #include <string>
20 
21 namespace niftk
22 {
23 
27 class ExceptionObject : public std::runtime_error
28 {
29 public:
30  ExceptionObject(const std::string &what) : std::runtime_error(what) {}
31 };
32 
33 } // end namespace
34 
35 #endif
Definition: niftkMeshSmoother.cxx:19
ExceptionObject(const std::string &what)
Definition: niftkExceptionObject.h:30
Basic NIFTK exception class.
Definition: niftkExceptionObject.h:27
Definition: niftkExceptionObject.h:21
GLsizei const GLcharARB ** string
Definition: glew.h:5194