Quadcap Embeddable Server

com.quadcap.http.server22.HttpException Class Reference

Inheritance diagram for com.quadcap.http.server22.HttpException:

IOException List of all members.

Detailed Description

An HTTP exception object.

Author:
Stan Bailes

Definition at line 48 of file HttpException.java.

Public Member Functions

 HttpException (String replyCode, String detail)
 Construct a new HttpException with the specified replyCode and detail.

 HttpException (String detail)
 Construct a new HttpException with the default replyCode and the specified detail message.

String getDetail ()
 Get the detail message.

String getReplyCode ()
 Return the HTTP replyCode code.


Package Attributes

String replyCode = "200"
 The HTTP reply code to issue (default "200").

String detail = null
 The detail message for the exception.


Constructor & Destructor Documentation

com.quadcap.http.server22.HttpException.HttpException String  replyCode,
String  detail
 

Construct a new HttpException with the specified replyCode and detail.

Parameters:
replyCode the HTTP completion replyCode
detail the human readable message following the replyCode.

Definition at line 64 of file HttpException.java.

com.quadcap.http.server22.HttpException.HttpException String  detail  ) 
 

Construct a new HttpException with the default replyCode and the specified detail message.

Parameters:
detail the human readable error message.

Definition at line 76 of file HttpException.java.


Member Function Documentation

String com.quadcap.http.server22.HttpException.getDetail  ) 
 

Get the detail message.

Returns:
the human readable detail message for this exception.

Definition at line 86 of file HttpException.java.

References com.quadcap.http.server22.HttpException.detail.

String com.quadcap.http.server22.HttpException.getReplyCode  ) 
 

Return the HTTP replyCode code.

Returns:
the HTTP replyCode code.

Definition at line 95 of file HttpException.java.

References com.quadcap.http.server22.HttpException.replyCode.


Member Data Documentation

String com.quadcap.http.server22.HttpException.detail = null [package]
 

The detail message for the exception.

Definition at line 57 of file HttpException.java.

Referenced by com.quadcap.http.server22.HttpException.getDetail().

String com.quadcap.http.server22.HttpException.replyCode = "200" [package]
 

The HTTP reply code to issue (default "200").

Definition at line 52 of file HttpException.java.

Referenced by com.quadcap.http.server22.HttpException.getReplyCode().