Exception: OpenShift::FrontendHttpServerAliasException
- Inherits:
-
FrontendHttpServerException
- Object
- StandardError
- FrontendHttpServerException
- OpenShift::FrontendHttpServerAliasException
- Defined in:
- lib/openshift-origin-node/model/frontend_httpd.rb
Instance Attribute Summary collapse
-
#alias_name ⇒ Object
readonly
Returns the value of attribute alias_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, alias_name = nil) ⇒ FrontendHttpServerAliasException
constructor
A new instance of FrontendHttpServerAliasException.
- #to_s ⇒ Object
Constructor Details
#initialize(msg = nil, container_uuid = nil, container_name = nil, namespace = nil, alias_name = nil) ⇒ FrontendHttpServerAliasException
Returns a new instance of FrontendHttpServerAliasException.
64 65 66 67 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 64 def initialize(msg=nil, container_uuid=nil, container_name=nil, namespace=nil, alias_name=nil) @alias_name = alias_name super(msg, container_uuid, container_name, namespace) end |
Instance Attribute Details
#alias_name ⇒ Object (readonly)
Returns the value of attribute alias_name.
62 63 64 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 62 def alias_name @alias_name end |
Instance Method Details
#to_s ⇒ Object
69 70 71 72 73 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 69 def to_s m = super m+= ": #{@alias_name}" if not @alias_name.nil? m end |