title: Why user defined exception classes are preferred/important in java?
body: <p>When we have System defined exception classes in Java, then why there is need to make user defined exception classes? Because my teacher told me to make Exception classes in my project.</p>
  
  <p>Any elaborate example will be good. </p>