Exception: OpenShift::FrontendHttpServerNameException
- Inherits:
-
FrontendHttpServerException
- Object
- StandardError
- FrontendHttpServerException
- OpenShift::FrontendHttpServerNameException
- Defined in:
- lib/openshift-origin-node/model/frontend_httpd.rb
Instance Attribute Summary collapse
-
#server_name ⇒ Object
readonly
Returns the value of attribute server_name.
Attributes inherited from FrontendHttpServerException
#container_name, #container_uuid, #namespace
Instance Method Summary collapse
-
#initialize(msg = nil, container_uuid = nil, container_name = nil, namespace = nil, server_name = nil) ⇒ FrontendHttpServerNameException
constructor
A new instance of FrontendHttpServerNameException.
- #to_s ⇒ Object
Constructor Details
#initialize(msg = nil, container_uuid = nil, container_name = nil, namespace = nil, server_name = nil) ⇒ FrontendHttpServerNameException
Returns a new instance of FrontendHttpServerNameException.
48 49 50 51 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 48 def initialize(msg=nil, container_uuid=nil, container_name=nil, namespace=nil, server_name=nil) @server_name = server_name super(msg, container_uuid, container_name, namespace) end |
Instance Attribute Details
#server_name ⇒ Object (readonly)
Returns the value of attribute server_name.
46 47 48 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 46 def server_name @server_name end |
Instance Method Details
#to_s ⇒ Object
53 54 55 56 57 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 53 def to_s m = super m+= ": #{@server_name}" if not @server_name.nil? m end |