svn:keywords
[bootmanager.git] / source / Exceptions.py
1 #!/usr/bin/python
2 #
3 # $Id$
4 # $URL$
5 #
6 # Copyright (c) 2003 Intel Corporation
7 # All rights reserved.
8 #
9 # Copyright (c) 2004-2006 The Trustees of Princeton University
10 # All rights reserved.
11
12 class BootManagerException(Exception):
13     def __init__( self, err ):
14         self.__fault= err
15
16     def __str__( self ):
17         return self.__fault
18     
19 class BootManagerAuthenticationException(Exception):
20     def __init__( self, err ):
21         self.__fault= err
22
23     def __str__( self ):
24         return self.__fault