ExceptionHandler
User Define Exception We need to define the exception that to be handle by our own. For instance, a product search page. When user key in a bad word to search, we’d like to show error page. public class BadKeywordsException
User Define Exception We need to define the exception that to be handle by our own. For instance, a product search page. When user key in a bad word to search, we’d like to show error page. public class BadKeywordsException
This is not the new thing to discover, but just a common mistake done by developer. The following stack trace is what i getting from my log file. In this example, i’ll show you the code where it actually cause