public ValidationException(File file,String message){
  super(MessageFormat.format("{0} ({1})",(message == null ? "file validation failed" : message),file));
  this.file=file;
}

public ValidationException ( File file , String message ) { super ( MessageFormat . format ( "{0} ({1})" , ( message == null ? "file validation failed" : message ) , file ) ) ; this . file = file ; }
constructs an exception indicating the specified file could not be validated .
