annotate exceptions.py @ 259:621faba17c60

created 'dummytests', tests that checks consistency of new weird datasets, where we can't compare with actual values in a matrix, for instance. Useful as a first debugging when creating a dataset
author Thierry Bertin-Mahieux <bertinmt@iro.umontreal.ca>
date Tue, 03 Jun 2008 16:41:55 -0400
parents ee11ed427ba8
children
rev   line source
166
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
1 """
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
2 Common exceptions.
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
3 @todo: This file should be part of a common/ python package.
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
4 """
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
5
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
6 class AbstractFunction (Exception): """Derived class must override this function"""
ee11ed427ba8 Created exceptions.py
Joseph Turian <turian@gmail.com>
parents:
diff changeset
7 class NotImplementedYet (NotImplementedError): """Work in progress, this should eventually be implemented"""