def __init__(self, message, data):
        """
        :param str message:
        :param dict data:
        :return:
        """
        # Call the base class constructor with the parameters it needs
        super(CancellationException, self).__init__(message)

        self.data = data if data else {}
def __init__ ( self , message , data ) : super ( CancellationException , self ) . __init__ ( message ) self . data = data if data else { }
:param str message:
        :param dict data:
        :return: