Hi All, I am referring to k & B book for my certification. While going through the exception handling i came to know about the term "Checked Exceptions". I am little bit confused about the difference between normal exceptions we declare "method throws ListOfExceptions". Can anybody please explain me the exact defference. Thanks, Saiprasad
there's 2 types of Exceptions, checked and unchecked. Checked exceptions MUST be either caught or declared in a "throws XXX" clause in a method signature, unchecked exceptions MAY be caught or declared (some people say they should never be, but that's personal preference, just as some people say one should never use checked exceptions). So what you call a "normal" exception is probably what's formally called a checked exception.