git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
====
[plcapi.git]
/
PLC
/
Faults.py
diff --git
a/PLC/Faults.py
b/PLC/Faults.py
index
1b2cdd3
..
cebe5c5
100644
(file)
--- a/
PLC/Faults.py
+++ b/
PLC/Faults.py
@@
-5,7
+5,6
@@
# Mark Huang <mlhuang@cs.princeton.edu>
#
# Copyright (C) 2004-2006 The Trustees of Princeton University
# Mark Huang <mlhuang@cs.princeton.edu>
#
# Copyright (C) 2004-2006 The Trustees of Princeton University
-# $Id$
#
import xmlrpclib
#
import xmlrpclib
@@
-46,11
+45,6
@@
class PLCAuthenticationFailure(PLCFault):
faultString = "Failed to authenticate call"
PLCFault.__init__(self, 103, faultString, extra)
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"
class PLCDBError(PLCFault):
def __init__(self, extra = None):
faultString = "Database error"
@@
-61,6
+55,11
@@
class PLCPermissionDenied(PLCFault):
faultString = "Permission denied"
PLCFault.__init__(self, 108, faultString, extra)
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"
class PLCAPIError(PLCFault):
def __init__(self, extra = None):
faultString = "Internal API error"