What is servlet exception?
Question: What is servlet exception?
Question:What is servlet exception?
AnswerServletException is a subclass of the Exception. It defines a general exception a servlet can throw when it encounters difficulty. ServletException class define only one method getRootCause() that returns the exception that caused this servlet exception. It inherit the other methods like fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString etc from the Throwable class.
Packages that use ServletException :
* javax.servlet
* javax.servlet.http
By:Jalees
Date:
What is servlet exception?
Post Your Answers
Related Links
- What is a WAR file?
- What is a servlet filter?
Question:What is servlet exception?