class Hpe3parSdk::HTTPGone

Attributes

http_status[R]

HTTP 410 - Indicates that the resource requested is no longer available and

will not be available again.
message[R]

HTTP 410 - Indicates that the resource requested is no longer available and

will not be available again.

Public Class Methods

new(code = nil, message =nil, ref =nil, http_status=nil) click to toggle source
Calls superclass method Hpe3parSdk::HPE3PARException::new
# File lib/Hpe3parSdk/exceptions.rb, line 223
def initialize(code = nil, message =nil, ref =nil, http_status=nil)
  @http_status = 410
  @message = 'Gone'
  super(code, message.nil? ? @message : message,
        ref,
        http_status.nil? ? @http_status : http_status)
end