ServletException Class

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

Constructors

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

Public Methods

getStatusCode( ) returns int