From e2bf3c575066e50e109fdfd290ee77330eac0c12 Mon Sep 17 00:00:00 2001 From: James Lee Date: Sat, 12 May 2012 16:53:54 -0600 Subject: [PATCH] throw is not the same as raise Clearly this code never gets called. --- lib/rex/post/meterpreter/channels/pools/stream_pool.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rex/post/meterpreter/channels/pools/stream_pool.rb b/lib/rex/post/meterpreter/channels/pools/stream_pool.rb index cf9e9752b2..cc72ed8d7a 100644 --- a/lib/rex/post/meterpreter/channels/pools/stream_pool.rb +++ b/lib/rex/post/meterpreter/channels/pools/stream_pool.rb @@ -49,14 +49,14 @@ class StreamPool < Rex::Post::Meterpreter::Channels::Pool # This method returns the current offset into the pool. # def tell - throw NotImplementedError + raise NotImplementedError end # # This method seeks to an offset in the pool. # def seek - throw NotImplementedError + raise NotImplementedError end #