New java syntax for catching multiple exceptions in a single section:
try {
// do something
} catch (ImageProcessingException | IOException ex) {
log.error("Unable to get orientation from file " + imagePath.toString(), ex);
}
No comments:
Post a Comment