Exception: TeamSpeak3::Exceptions::ServerConnectionFailed
- Inherits:
-
StandardException
- Object
- Exception
- StandardException
- TeamSpeak3::Exceptions::ServerConnectionFailed
- Defined in:
- lib/exceptions/server_connection_failed.rb
Instance Attribute Summary collapse
-
#ip_address ⇒ Object
readonly
Returns the value of attribute ip_address.
-
#query_port ⇒ Object
readonly
Returns the value of attribute query_port.
Attributes inherited from StandardException
Instance Method Summary collapse
-
#initialize(ip_address, query_port, message) ⇒ ServerConnectionFailed
constructor
A new instance of ServerConnectionFailed.
Methods inherited from StandardException
Constructor Details
#initialize(ip_address, query_port, message) ⇒ ServerConnectionFailed
Returns a new instance of ServerConnectionFailed.
7 8 9 10 11 |
# File 'lib/exceptions/server_connection_failed.rb', line 7 def initialize(ip_address, query_port, ) @ip_address = ip_address @query_port = query_port @message = end |
Instance Attribute Details
#ip_address ⇒ Object (readonly)
Returns the value of attribute ip_address.
4 5 6 |
# File 'lib/exceptions/server_connection_failed.rb', line 4 def ip_address @ip_address end |
#query_port ⇒ Object (readonly)
Returns the value of attribute query_port.
5 6 7 |
# File 'lib/exceptions/server_connection_failed.rb', line 5 def query_port @query_port end |