Skip to content

Commit

Permalink
BXC-4737 make exception more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
sharonluong committed Oct 15, 2024
1 parent 392edef commit 723d508
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ public void process(Exchange exchange) throws IOException {
/**
* Deletes the temporarily stored uploaded thumbnail file
* @param exchange
* @throws Exception
* @throws IOException
*/
public void cleanupTempThumbnailFile(Exchange exchange) throws Exception {
public void cleanupTempThumbnailFile(Exchange exchange) throws IOException {
final Message in = exchange.getIn();
String tempValue = (String) in.getHeader(CdrBinaryPath);
Path tempPath = Paths.get(tempValue);
Expand Down

0 comments on commit 723d508

Please sign in to comment.