X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2FExceptions.py;h=5f994426f152eefc105475154f0bf926de80f371;hb=HEAD;hp=fc81fd3ac3e5f0d6e24762c602257aec435aabdb;hpb=7ab7e9dd797333a9fdc8604554e16e192a32144d;p=bootmanager.git diff --git a/source/Exceptions.py b/source/Exceptions.py index fc81fd3..5f99442 100644 --- a/source/Exceptions.py +++ b/source/Exceptions.py @@ -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