added method:saveMessage|throwAll|error|messages.