#!/usr/bin/env python
# NotAvailableError.py
#   Copyright (C) 2006 CCLRC, Graeme Winter
#
#   This code is distributed under the BSD license, a copy of which is 
#   included in the root directory of this package.
# 
# An exception to be raised if a program or class is not available.

from exceptions import Exception

class NotAvailableError(Exception):
    '''An exception to be raised when a program is not available'''

    pass

if __name__ == '__main__':
    raise NotAvailableError, 'program x nopt available'

