Quantcast
Channel: A Java geek » Java
Viewing all articles
Browse latest Browse all 64

Using exceptions when designing an API

$
0
0
Many knows the tradeoff of using exceptions while designing an application: On one hand, using try-catch block nicely segregates between regular code and exception handling code On the other hand, using exceptions has a definite performance cost for the JVM Every time I’ve been facing this quandary, I’ve ruled in favor of the former, because [...]

Viewing all articles
Browse latest Browse all 64

Trending Articles