X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2FExceptions.py;h=be4587eb534cbdbb475871d386aaacf8dad865d2;hb=fedd02d122a4e365b3c02059b55440b6c1a27f03;hp=915f120195ac1717eaf752da3d07e74be5e29e1d;hpb=bd85ea4bb68783a0a58a6ddc6c3cc1dd22715eb1;p=bootmanager.git diff --git a/source/Exceptions.py b/source/Exceptions.py index 915f120..be4587e 100644 --- a/source/Exceptions.py +++ b/source/Exceptions.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/python # Copyright (c) 2003 Intel Corporation # All rights reserved. @@ -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