Save This Page
Home » openjdk-7 » javax » xml » ws » http » [javadoc | source]
javax.xml.ws.http
public class: HTTPException [javadoc | source]
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

All Implemented Interfaces:
    Serializable

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.

Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public HTTPException(int statusCode) 
Method from javax.xml.ws.http.HTTPException Summary:
getStatusCode
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.xml.ws.http.HTTPException Detail:
 public int getStatusCode() 
    Gets the HTTP status code.