|
JAX-WS v2.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.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 code| Method Detail |
|---|
public int getStatusCode()
|
JAX-WS v2.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2007 by Sun Microsystems, Inc., 4150 Network Circle,
Santa Clara, California 95054, U.S.A. All Rights Reserved.