Utility classes
There are two exception classes in the servlet API.
- javax.servlet.ServletException, the servlet should throw this exception to the server in the event of general failure.
- javax.servlet.UnavailableException, servlets can report this at any time to the server. The servlet may write a log entry so that an administrator can take some action.