Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryCoreException.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef BERRYCOREEXCEPTION_H
14
#define BERRYCOREEXCEPTION_H
15
16
#include <
berryIStatus.h
>
17
18
#include <ctkException.h>
19
20
namespace
berry
{
21
22
struct
IStatus;
23
33
class
org_blueberry_core_runtime_EXPORT
CoreException
:
public
ctkException
34
{
35
36
public
:
37
44
CoreException
(
const
SmartPointer<IStatus>
& status);
45
46
~
CoreException
()
throw
()
override
;
47
48
const
char
* name()
const
throw
()
override
;
49
50
CoreException
*
clone
()
const override
;
51
52
void
rethrow()
const override
;
53
59
SmartPointer<IStatus>
GetStatus()
const
;
60
61
private
:
62
64
const
SmartPointer<IStatus>
status;
65
73
QDebug printStackTrace(QDebug dbg)
const override
;
74
75
QDebug PrintChildren(
IStatus
* status, QDebug dbg)
const
;
76
};
77
78
}
79
80
#endif // BERRYCOREEXCEPTION_H
berry
Definition:
QmitkPropertyItemModel.h:23
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition:
org_blueberry_core_runtime_Export.h:25
berry::CoreException
Definition:
berryCoreException.h:33
berryIStatus.h
clone
static void clone(T *&dst, S *src, int n)
Definition:
svm.cpp:59
berry::IStatus
Definition:
berryIStatus.h:52
Source
Plugins
org.blueberry.core.runtime
src
berryCoreException.h
Generated on Thu Mar 12 2020 10:23:32 for Medical Imaging Interaction Toolkit by
1.8.13