Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryJobExceptions.h
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 
17 #ifndef BERRYJOBSEXCEPTIONS_H_
18 #define BERRYJOBSEXCEPTIONS_H_
19 
20 #include <org_blueberry_core_jobs_Export.h>
21 #include <Poco/Exception.h>
22 
23 namespace berry
24 {
25 
26 POCO_DECLARE_EXCEPTION(BERRY_JOBS, InterruptedException, Poco::RuntimeException)
27 POCO_DECLARE_EXCEPTION(BERRY_JOBS, IllegalStateException, Poco::RuntimeException)
28 POCO_DECLARE_EXCEPTION(BERRY_JOBS, JobRuntimeException, Poco::RuntimeException)
29 POCO_DECLARE_EXCEPTION(BERRY_JOBS, FinallyThrowException, Poco::RuntimeException)
30 POCO_DECLARE_EXCEPTION(BERRY_JOBS, IllegalArgumentException, Poco::Exception)
31 
32 }
33 
34 #endif /* BERRYJOBSEXCEPTIONS_H_ */