Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryCommandExceptions.cpp
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 #include "berryCommandExceptions.h"
14 
15 namespace berry {
16 
17 CTK_IMPLEMENT_EXCEPTION(CommandException, ctkRuntimeException, "Command exception")
18 
19 CTK_IMPLEMENT_EXCEPTION(ExecutionException, CommandException, "Command execution exception")
20 CTK_IMPLEMENT_EXCEPTION(NotHandledException, CommandException, "Command not handled exception")
21 CTK_IMPLEMENT_EXCEPTION(NotDefinedException, CommandException, "Command not defined exception")
22 CTK_IMPLEMENT_EXCEPTION(NotEnabledException, CommandException, "Command not enabled exception")
23 CTK_IMPLEMENT_EXCEPTION(ParameterValueConversionException, CommandException, "Parameter value conversion exception")
24 CTK_IMPLEMENT_EXCEPTION(ParameterValuesException, CommandException, "Parameter values exception")
25 CTK_IMPLEMENT_EXCEPTION(SerializationException, CommandException, "Serialization exception")
26 }