0
Why throwing user defined Exception need to be in Try catch block ?
But throwing predefined Exception need not to be in try catch block ?
1 Antwort
+ 3
A simple answer would be that every user defined exception is a checked exception and every checked exception must be handled in Java whether using the try catch block or by using the throws keyword.