Exception: CmisServer::InvalidOperation
Instance Attribute Summary
#debug_data, #trigger
Instance Method Summary
collapse
#http_status, #log, #message, #to_h, #to_xml
Constructor Details
#initialize(message = nil, attrs = {}) ⇒ InvalidOperation
Returns a new instance of InvalidOperation.
134
135
136
137
|
# File 'lib/cmis_server/exceptions.rb', line 134
def initialize(message = nil, attrs = {})
super(attrs)
@message = message
end
|
Instance Method Details
#http_status_code ⇒ Object
147
148
149
|
# File 'lib/cmis_server/exceptions.rb', line 147
def http_status_code
400
end
|
#summary ⇒ Object
143
144
145
|
# File 'lib/cmis_server/exceptions.rb', line 143
def summary
@message || "The requested operation cannot be performed."
end
|
#title ⇒ Object
139
140
141
|
# File 'lib/cmis_server/exceptions.rb', line 139
def title
"Invalid Operation"
end
|