Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryInvalidRegistryObjectException.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
18 
19 namespace berry {
20 
22  : ctkRuntimeException("Invalid registry object")
23 {
24 }
25 
27 {
28 }
29 
30 const char* InvalidRegistryObjectException::name() const throw()
31 {
32  return "berry::InvalidRegistryObjectException";
33 }
34 
36 {
37  return new InvalidRegistryObjectException(*this);
38 }
39 
41 {
42  throw *this;
43 }
44 
45 }
InvalidRegistryObjectException * clone() const override