public static void checkFileValidity ( File file ) throws IOException { if ( ! file . exists ( ) ) { throw new IOException ( ExceptionMessageMap . getMessage ( "020001" ) + " { filename=[" + file . getName ( ) + "] }" ) ; } }
Checks that the specified file exists .