Add scripts to create myops-getqueryview:
[myops.git] / web / collect / client / sysinfo / Exceptions.py
diff --git a/web/collect/client/sysinfo/Exceptions.py b/web/collect/client/sysinfo/Exceptions.py
new file mode 100644 (file)
index 0000000..be4587e
--- /dev/null
@@ -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