File size: 608 Bytes
907462b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- coding: utf-8 -*-
# Exceptions
#
# @ Fabian Hörst, fabian.hoerst@uk-essen.de
# Institute for Artifical Intelligence in Medicine,
# University Medicine Essen


class WrongParameterException(Exception):
    """
    Exceptions that occur when the given parameters are not supported.
    """

    pass


class OverwriteException(WrongParameterException):
    """
    Exceptions that occur when the data may be overwritten but there is a missing parameter.
    """

    pass


class UnalignedDataException(Exception):
    """
    Exceptions that occur when the given data is not aligned.
    """

    pass