view exceptions.py @ 264:a1793a5e9523

we can now load and save in a file, see test class in the file for an example, but basically it's model1.save(filename) or learn_algo(filename) to load
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Wed, 04 Jun 2008 17:00:44 -0400
parents ee11ed427ba8
children
line wrap: on
line source

"""
Common exceptions.
@todo: This file should be part of a common/ python package.
"""

class AbstractFunction (Exception): """Derived class must override this function"""
class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""