reguire gnupg1 on f>=31; sense the system to use gpg1 when installed
[bootmanager.git] / source / Exceptions.py
index fc81fd3..5f99442 100644 (file)
@@ -1,8 +1,21 @@
+#!/usr/bin/python2
+#
+# Copyright (c) 2003 Intel Corporation
+# All rights reserved.
+#
+# Copyright (c) 2004-2006 The Trustees of Princeton University
+# 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