X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FFaults.py;h=cebe5c5e75de2668c9e3392b9585bc3a18766ff1;hb=19d4a01ccf66af9e00914351b3eacd5fc880f988;hp=1b2cdd33193299da217198262f86ca35c945b8ea;hpb=24d16d18acab3da7bccc3e09df4927e9cf2d3246;p=plcapi.git diff --git a/PLC/Faults.py b/PLC/Faults.py index 1b2cdd3..cebe5c5 100644 --- a/PLC/Faults.py +++ b/PLC/Faults.py @@ -5,7 +5,6 @@ # Mark Huang # # Copyright (C) 2004-2006 The Trustees of Princeton University -# $Id$ # import xmlrpclib @@ -46,11 +45,6 @@ class PLCAuthenticationFailure(PLCFault): 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" @@ -61,6 +55,11 @@ class PLCPermissionDenied(PLCFault): 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"