Quantcast
Channel: coder i|o: #generics
Viewing all articles
Browse latest Browse all 59

Java, How to throw undeclared checked exception

$
0
0

From aragozin.blogspot.com:

Usually when you have caught checked exception (e. or ) you have to wrap it in to rethrow it without declaring exception in method signature. But with help of generic you can now easily break java rules and throw say exception from a method which has no throws declaration.

Click here to read more

Tagged: #java #generics


Viewing all articles
Browse latest Browse all 59

Trending Articles