Exception: OpenShift::FrontendHttpServerException
- Inherits:
-
StandardError
- Object
- StandardError
- OpenShift::FrontendHttpServerException
- Defined in:
- lib/openshift-origin-node/model/frontend_httpd.rb
Direct Known Subclasses
FrontendHttpServerAliasException, FrontendHttpServerNameException
Instance Attribute Summary collapse
-
#container_name ⇒ Object
readonly
Returns the value of attribute container_name.
-
#container_uuid ⇒ Object
readonly
Returns the value of attribute container_uuid.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize(msg = nil, container_uuid = nil, container_name = nil, namespace = nil) ⇒ FrontendHttpServerException
constructor
A new instance of FrontendHttpServerException.
- #to_s ⇒ Object
Constructor Details
#initialize(msg = nil, container_uuid = nil, container_name = nil, namespace = nil) ⇒ FrontendHttpServerException
Returns a new instance of FrontendHttpServerException.
29 30 31 32 33 34 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 29 def initialize(msg=nil, container_uuid=nil, container_name=nil, namespace=nil) @container_uuid = container_uuid @container_name = container_name @namespace = namespace super(msg) end |
Instance Attribute Details
#container_name ⇒ Object (readonly)
Returns the value of attribute container_name.
26 27 28 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 26 def container_name @container_name end |
#container_uuid ⇒ Object (readonly)
Returns the value of attribute container_uuid.
26 27 28 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 26 def container_uuid @container_uuid end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace.
27 28 29 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 27 def namespace @namespace end |
Instance Method Details
#to_s ⇒ Object
36 37 38 39 40 41 |
# File 'lib/openshift-origin-node/model/frontend_httpd.rb', line 36 def to_s m = super m+= ": #{@container_name}" if not @container_name.nil? m+= ": #{@namespace}" if not @namespace.nil? m end |