Catch and raise the exception when GetSession Fails.
[bootmanager.git] / source / Exceptions.py
index 9fa5301..be4587e 100644 (file)
@@ -13,3 +13,9 @@ class BootManagerException(Exception):
     def __str__( self ):
         return self.__fault
     
+class BootManagerAuthenticationException(Exception):
+    def __init__( self, err ):
+        self.__fault= err
+
+    def __str__( self ):
+        return self.__fault