பேச்சு:நிரலாக்கம் அறிமுகம்/விதிவிலக்கை கையாளுதல்

மற்ற மொழிகளில் ஆதரிக்கப்படாத பக்க உள்ளடக்கம்.
விக்கிநூல்கள் இலிருந்து

குறிப்புகள்:

Checked vs Unchecked Exceptions[தொகு]

In Java only:

  • Checked Exceptions are the exceptions that must be handled.
  • Unchecked Exceptions (Runtime Exceptions or Erros) can be checked optionally, these include arithmetic exceptions, null objects, and error in using arrays with out of range indexes [1]. Unchecked exceptions are optional, because there can be too many can clutter the code. It is upto the programmer to intelligently use them.