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.
10 11 12 |
# File 'lib/rex/proto/sunrpc/client.rb', line 10 def initialize(msg = 'Operation timed out.') @msg = msg end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/rex/proto/sunrpc/client.rb', line 14 def to_s @msg end |