Add scripts to create myops-getqueryview:
[myops.git] / web / collect / client / sysinfo / Exceptions.py
1 #!/usr/bin/python
2
3 # Copyright (c) 2003 Intel Corporation
4 # All rights reserved.
5 #
6 # Copyright (c) 2004-2006 The Trustees of Princeton University
7 # All rights reserved.
8
9 class BootManagerException(Exception):
10     def __init__( self, err ):
11         self.__fault= err
12
13     def __str__( self ):
14         return self.__fault
15     
16 class BootManagerAuthenticationException(Exception):
17     def __init__( self, err ):
18         self.__fault= err
19
20     def __str__( self ):
21         return self.__fault