HTTPException
Since there is no standard format for faults or exceptions in XML/HTTP messaging, only the HTTP status code is captured.
Constructor for the HTTPExceptionparamstatusCode int for the HTTP status code super(); this.statusCode = statusCode;
int
super(); this.statusCode = statusCode;
Gets the HTTP status code.returnHTTP status code return statusCode;
return statusCode;