Exception

04 Jul 2024 . java .

Exception

  • It can be checked or unchecked.
  • Represents an error caused by a programmer.
  • It should be processed at the application level.

Error

  • It’s always unchecked.
  • It is often used to represent system errors or low-level resource errors.
  • If possible, it should be captured at the system level.