FileDocCategorySizeDatePackage
HTTPException.javaAPI DocJava SE 6 API852Tue Jun 10 00:27:16 BST 2008javax.xml.ws.http

HTTPException

public class HTTPException extends ProtocolException
The HTTPException exception represents a XML/HTTP fault.

Since there is no standard format for faults or exceptions in XML/HTTP messaging, only the HTTP status code is captured.

since
JAX-WS 2.0

Fields Summary
private int
statusCode
Constructors Summary
public HTTPException(int statusCode)
Constructor for the HTTPException

param
statusCode int for the HTTP status code

 
    super();
    this.statusCode = statusCode;
  
Methods Summary
public intgetStatusCode()
Gets the HTTP status code.

return
HTTP status code

    return statusCode;