| 245 | } |
| 246 | |
| 247 | @Override |
| 248 | public VaasVerdict forFile(Path file) throws InterruptedException, IOException, VaasAuthenticationException, VaasClientException, VaasServerException { |
| 249 | try { |
| 250 | return forFileAsync(file).get(); |
| 251 | } catch (ExecutionException | CompletionException e) { |
| 252 | throwInnerException(e); |
| 253 | return null; |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | @Override |
| 258 | public VaasVerdict forFile(Path file, ForFileOptions options) throws InterruptedException, IOException, VaasAuthenticationException, VaasClientException, VaasServerException { |