|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException javax.xml.ws.WebServiceException javax.xml.ws.ProtocolException javax.xml.ws.http.HTTPException
public class HTTPException
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.
Constructor Summary | |
---|---|
HTTPException(int statusCode)
Constructor for the HTTPException |
Method Summary | |
---|---|
int |
getStatusCode()
Gets the HTTP status code. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HTTPException(int statusCode)
statusCode
- int
for the HTTP status codeMethod Detail |
---|
public int getStatusCode()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.