Class HTTPException

All Implemented Interfaces:
Serializable

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

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

See Also:
  • Constructor Details

    • HTTPException

      public HTTPException(int statusCode)
      Constructor for the HTTPException
      Parameters:
      statusCode - int for the HTTP status code
  • Method Details

    • getStatusCode

      public int getStatusCode()
      Gets the HTTP status code.
      Returns:
      HTTP status code