Exception: Hpe3parSdk::HTTPNotImplemented
- Inherits:
-
HPE3PARException
- Object
- StandardError
- HPE3PARException
- Hpe3parSdk::HTTPNotImplemented
- Defined in:
- lib/Hpe3parSdk/exceptions.rb
Instance Attribute Summary collapse
-
#http_status ⇒ Object
readonly
HTTP 501 - Not Implemented: the server does not support this operation.
-
#message ⇒ Object
readonly
HTTP 501 - Not Implemented: the server does not support this operation.
Attributes inherited from HPE3PARException
Instance Method Summary collapse
-
#initialize(code = nil, message = nil, ref = nil, http_status = nil) ⇒ HTTPNotImplemented
constructor
A new instance of HTTPNotImplemented.
Constructor Details
#initialize(code = nil, message = nil, ref = nil, http_status = nil) ⇒ HTTPNotImplemented
Returns a new instance of HTTPNotImplemented.
382 383 384 385 386 387 388 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 382 def initialize(code = nil, =nil, ref =nil, http_status=nil) @http_status = 501 @message = 'Not Implemented' super(code, .nil? ? @message : , ref, http_status.nil? ? @http_status : http_status) end |
Instance Attribute Details
#http_status ⇒ Object (readonly)
HTTP 501 - Not Implemented: the server does not support this operation.
379 380 381 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 379 def http_status @http_status end |
#message ⇒ Object (readonly)
HTTP 501 - Not Implemented: the server does not support this operation.
379 380 381 |
# File 'lib/Hpe3parSdk/exceptions.rb', line 379 def @message end |