cpdbench.exception.AlgorithmExecutionException

 1from cpdbench.exception.CPDExecutionException import CPDExecutionException
 2
 3
 4class AlgorithmExecutionException(CPDExecutionException):
 5    """Exception type when the execution of an algorithm on a dataset has failed"""
 6
 7    standard_msg = 'Error while executing the algorithm {0} on dataset {1}'
 8
 9    def __init__(self, algorithm_function, dataset_function):
10        super().__init__(self.standard_msg.format(algorithm_function, dataset_function))
class AlgorithmExecutionException(cpdbench.exception.CPDExecutionException.CPDExecutionException):
 5class AlgorithmExecutionException(CPDExecutionException):
 6    """Exception type when the execution of an algorithm on a dataset has failed"""
 7
 8    standard_msg = 'Error while executing the algorithm {0} on dataset {1}'
 9
10    def __init__(self, algorithm_function, dataset_function):
11        super().__init__(self.standard_msg.format(algorithm_function, dataset_function))

Exception type when the execution of an algorithm on a dataset has failed

AlgorithmExecutionException(algorithm_function, dataset_function)
10    def __init__(self, algorithm_function, dataset_function):
11        super().__init__(self.standard_msg.format(algorithm_function, dataset_function))
standard_msg = 'Error while executing the algorithm {0} on dataset {1}'
Inherited Members
builtins.BaseException
with_traceback
args