X-Git-Url: http://git.onelab.eu/?p=myops.git;a=blobdiff_plain;f=web%2Fcollect%2Fclient%2Fsysinfo%2FExceptions.py;fp=web%2Fcollect%2Fclient%2Fsysinfo%2FExceptions.py;h=be4587eb534cbdbb475871d386aaacf8dad865d2;hp=0000000000000000000000000000000000000000;hb=85070b3d456667f238051af1a2f1f2a0c12300ab;hpb=607f0e13927eb18075c375fa9ba5527da4fcbb44 diff --git a/web/collect/client/sysinfo/Exceptions.py b/web/collect/client/sysinfo/Exceptions.py new file mode 100644 index 0000000..be4587e --- /dev/null +++ b/web/collect/client/sysinfo/Exceptions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python + +# 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 ): + self.__fault= err + + def __str__( self ): + return self.__fault + +class BootManagerAuthenticationException(Exception): + def __init__( self, err ): + self.__fault= err + + def __str__( self ): + return self.__fault