SyntaxFix
Write A Post
Hire A Developer
Questions
You may catch multiple exceptions in single catch block.
try{ // somecode throwing multiple exceptions; } catch (Exception1 | Exception2 | Exception3 exception){ // handle exception. }