1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00
git-svn-id: file:///home/svn/incoming/trunk@2866 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2005-09-22 09:04:54 +00:00
parent ea4448bee4
commit 3114a95235

View File

@ -0,0 +1,50 @@
module Rex
module Proto
module SMB
module Exceptions
class Error < ::RuntimeError
def initialize(*args)
super(*args)
end
end
class ReadHeader < Error
def to_s
"The SMB response header was invalid"
end
end
class ReadPacket < Error
def to_s
"The SMB response packet was invalid"
end
end
class WritePacket < Error
def to_s
"The SMB packet failed to send"
end
end
class Unimplemented < Error
def to_s
"The SMB packet type was not supported"
end
end
class NetbiosSessionFailed < Error
def to_s
"The server refused our NetBIOS session request"
end
end
end
end
end
end