#NEWLINE# def get_document( self , doc_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . case_accessors . get_case ( doc_id ) . to_json ( ) #NEWLINE# #UNINDENT# except CaseNotFound as e : #NEWLINE# #INDENT# raise DocumentNotFoundError ( doc_id )