rely on a shebang in conf_files.py to choose between python2 or python3
[bootmanager.git] / source / Exceptions.py
index 9fa5301..1004d5b 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-
+#
 # Copyright (c) 2003 Intel Corporation
 # All rights reserved.
 #
@@ -7,9 +7,15 @@
 # All rights reserved.
 
 class BootManagerException(Exception):
-    def __init__( self, err ):
+    def __init__(self, err):
         self.__fault= err
 
-    def __str__( self ):
+    def __str__(self):
         return self.__fault
     
+class BootManagerAuthenticationException(Exception):
+    def __init__(self, err):
+        self.__fault= err
+
+    def __str__(self):
+        return self.__fault