Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the exceptions thrown by Servlets?

Answer Posted / tulasivani

The Expceptions thrown by the servlet can be in two
exception classes

1.Servlet Exception

public ServletException();
public ServletException(String message);
public Throwable getRootCause()


2.Servlet Unavailable Exception

public class UnavailableException extends ServletException

public UnavailableException(String message);
public UnavailableException(String message, int seconds);

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of cookies?

1064


Difference between forward() method and sendredirect() method ?

982


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

1011


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

1041


How we can call a jsp from the servlet?

955


Differentiate between the web server and application server?

988


How to get the IP address of client in servlet?

1027


what is servlet chaining?

1041


What is the difference between 2 types of servlets?

1084


What is cookies in servlet with example?

1020


How do we translate jsp?

990


What are the benefits of using servlet over cgi?

981


Explain load on start-up and its importance?

1068


What is api in servlet?

964


Whats the advantages using servlets over using CGI?

1005