protected static BufferedReader createFileReader ( String file_name ) throws BeastException { try { return new BufferedReader ( new FileReader ( file_name ) ) ; } catch ( FileNotFoundException e ) { Logger logger = Logger . getLogger ( MASReader . class . getName ( ) ) ; logger . severe ( "ERROR: " + e . toString ( ) ) ; throw new BeastException ( "ERROR: " + e . toString ( ) , e ) ; } }
Method to read our client s plain text