Exception: CmisServer::InvalidType

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

Overview

Exceptions pour CMIS 1.1

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



109
110
111
# File 'lib/cmis_server/exceptions.rb', line 109

def http_status_code
  400
end

#summaryObject



105
106
107
# File 'lib/cmis_server/exceptions.rb', line 105

def summary
  "The specified type is invalid or does not exist."
end

#titleObject



101
102
103
# File 'lib/cmis_server/exceptions.rb', line 101

def title
  "Invalid Type"
end