exceptions.py revision b6ece28856aa36dba6304dca4bac57f552ff0a6a
"""
Provide Exceptions for py.test framework
"""
class StandardException(Exception):
""" Overrides Exception class """
if msg is None:
msg = 'Error'
class InvalidInput(StandardException):
"""
Override StandardException used mainly when invalid input is passed
"""
class DirSrvException(StandardException):
"""
Override StandardException, This exception is to be used for
Directory Server related Errors
"""
class PkiLibException(StandardException):
"""
Override StandardException,
"""
class OSException(StandardException):
"""
Override StandardException, This exception is to be used for
Operating system errors.
"""
class LdapException(StandardException):
"""
Override StandardException, This exception is to be used for LDAP Errors
"""
class RPMException(StandardException):
"""
Override StandardException, This exception is to be used for RPM Errors
"""