コード例 #1
0
ファイル: Auxiliary.py プロジェクト: BioGeek/WMCore
 def __init__(self):
     RESTError.__init__(self)
     self.message = "Empty data has passed"
コード例 #2
0
ファイル: Auxiliary.py プロジェクト: belforte/WMCore
 def __init__(self):
     RESTError.__init__(self)
     self.message = "Empty data has passed"
コード例 #3
0
 def __init__(self, current_state, new_state):
     RESTError.__init__(self)
     self.message = "InvalidStatus Transition: %s to %s" % (current_state, new_state)
コード例 #4
0
 def __init__(self, message):
     RESTError.__init__(self)
     self.message = "Invalid spec parameter value: %s" % message
コード例 #5
0
ファイル: RequestError.py プロジェクト: vytjan/WMCore
 def __init__(self, current_state, new_state):
     RESTError.__init__(self)
     self.message = "InvalidStatus Transition: %s to %s" % (current_state,
                                                            new_state)
コード例 #6
0
ファイル: RequestError.py プロジェクト: vytjan/WMCore
 def __init__(self, message):
     RESTError.__init__(self)
     self.message = "Invalid spec parameter value: %s" % message
コード例 #7
0
 def __init__(self, requestName, currentState, newState):
     RESTError.__init__(self)
     self.message = "Invalid status transition for request: %s, from '%s' to '%s'" % (
         requestName, currentState, newState)