ServletException Class

Defines a general exception a servlet can throw when it encounters an invalid request or error.

Constructors

public ServletException( )
public ServletException( String message )
public ServletException( String message, Exception e )
public ServletException( int statusCode )
public ServletException( int statusCode, String message )

Methods

getStatusCode( ) returns int