#NEWLINE# @ classmethod #NEWLINE# def deserialize_from( cls , buf , offset , **kw ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return cls . _deserialize_from ( offset , offset , ** kw ) #NEWLINE# #UNINDENT# except ( struct . error , IOError ) as err : #NEWLINE# #INDENT# raise cls . exception ( err )