Exception: CmisServer::ObjectNotFound

Inherits:
CmisStandardError show all
Defined in:
lib/cmis_server/exceptions.rb

Instance Attribute Summary

Attributes inherited from CmisStandardError

#debug_data, #trigger

Instance Method Summary collapse

Methods inherited from CmisStandardError

#http_status, #initialize, #log, #message, #to_h, #to_xml

Constructor Details

This class inherits a constructor from CmisServer::CmisStandardError

Instance Method Details

#http_status_codeObject



94
95
96
# File 'lib/cmis_server/exceptions.rb', line 94

def http_status_code
  404
end

#summaryObject



90
91
92
# File 'lib/cmis_server/exceptions.rb', line 90

def summary
  "The requested object could not be found in this CMIS repository or you don't have permissions to access it"
end

#titleObject



86
87
88
# File 'lib/cmis_server/exceptions.rb', line 86

def title
  "Object Not Found"
end