Serializablepublic class HTTPException extends ProtocolException
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.
| Constructor | Description |
|---|---|
HTTPException(int statusCode) |
Constructor for the HTTPException
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getStatusCode() |
Gets the HTTP status code.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Comments to: javaee-spec@javaee.groups.io
More information at: Metro Web Services Overview
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved.