Exception: Rex::Proto::SunRPC::RPCTimeout
- Inherits:
-
Interrupt
- Object
- Interrupt
- Rex::Proto::SunRPC::RPCTimeout
- Defined in:
- lib/rex/proto/sunrpc/client.rb
Instance Method Summary collapse
-
#initialize(msg = 'Operation timed out.') ⇒ RPCTimeout
constructor
A new instance of RPCTimeout.
- #to_s ⇒ Object
Constructor Details
#initialize(msg = 'Operation timed out.') ⇒ RPCTimeout
Returns a new instance of RPCTimeout.
21 22 23 |
# File 'lib/rex/proto/sunrpc/client.rb', line 21 def initialize(msg = 'Operation timed out.') @msg = msg end |
Instance Method Details
#to_s ⇒ Object
25 26 27 |
# File 'lib/rex/proto/sunrpc/client.rb', line 25 def to_s @msg end |