示例#1
0
 def __init__(self):
     RESTError.__init__(self)
     self.message = "Empty data has passed"
示例#2
0
 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
 def __init__(self, current_state, new_state):
     RESTError.__init__(self)
     self.message = "InvalidStatus Transition: %s to %s" % (current_state,
                                                            new_state)
示例#6
0
 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)