# Mark Huang <mlhuang@cs.princeton.edu>
#
# Copyright (C) 2004-2006 The Trustees of Princeton University
-# $Id$
+# $Id: Faults.py,v 1.2 2006/12/07 09:13:55 thierry Exp $
#
import xmlrpclib
faultString = "Failed to authenticate call"
PLCFault.__init__(self, 103, faultString, extra)
-class PLCNotImplemented(PLCFault):
- def __init__(self, extra = None):
- faultString = "Not fully implemented"
- PLCFault.__init__(self, 109, faultString, extra)
-
class PLCDBError(PLCFault):
def __init__(self, extra = None):
faultString = "Database error"
faultString = "Permission denied"
PLCFault.__init__(self, 108, faultString, extra)
+class PLCNotImplemented(PLCFault):
+ def __init__(self, extra = None):
+ faultString = "Not fully implemented"
+ PLCFault.__init__(self, 109, faultString, extra)
+
class PLCAPIError(PLCFault):
def __init__(self, extra = None):
faultString = "Internal API error"