Exception: Hpe3parSdk::HTTPRequestURITooLong
- Inherits:
-
HPE3PARException
- Object
- StandardError
- HPE3PARException
- Hpe3parSdk::HTTPRequestURITooLong
- Defined in:
- lib/Hpe3parSdk/exceptions.rb
Instance Attribute Summary collapse
-
#http_status ⇒ Object
readonly
HTTP 414 - The URI provided was too long for the server to process.
-
#message ⇒ Object
readonly
HTTP 414 - The URI provided was too long for the server to process.
Attributes inherited from HPE3PARException
Instance Method Summary collapse
-
#initialize(code = nil, message = nil, ref = nil, http_status = nil) ⇒ HTTPRequestURITooLong
constructor
A new instance of HTTPRequestURITooLong.
Constructor Details
#initialize(code = nil, message = nil, ref = nil, http_status = nil) ⇒ HTTPRequestURITooLong
Returns a new instance of HTTPRequestURITooLong.
286 287 288 289 290 291 292 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 286 def initialize(code = nil, =nil, ref =nil, http_status=nil) @http_status = 414 @message = 'Request URI Too Large' super(code, .nil? ? @message : , ref, http_status.nil? ? @http_status : http_status) end |
Instance Attribute Details
#http_status ⇒ Object (readonly)
HTTP 414 - The URI provided was too long for the server to process.
283 284 285 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 283 def http_status @http_status end |
#message ⇒ Object (readonly)
HTTP 414 - The URI provided was too long for the server to process.
283 284 285 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 283 def @message end |