question: protected void checkFileValidity ( final File image ) throws TwitterException { if ( ! image . exists ( ) ) throw new TwitterException ( new FileNotFoundException ( image + " is not found." ) ) ; if ( ! image . isFile ( ) ) throw new TwitterException ( new IOException ( image + " is not a file." ) ) ; }
target:  Check the existence, and the type of the specified file.