- 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
 
 
 public class HTTPException extends ProtocolException HTTPException异常表示XML / HTTP故障。由于XML / HTTP消息传递中的故障或异常没有标准格式,因此只会捕获HTTP状态代码。 - 从以下版本开始:
- 1.6,JAX-WS 2.0
- 另请参见:
- Serialized Form
 
-  
        
       -  
             构造方法摘要构造方法 Constructor 描述 HTTPException(int statusCode)HTTPException的构造方法
 -  
             方法摘要所有方法 接口方法 具体的方法 Modifier and Type 方法 描述 intgetStatusCode()获取HTTP状态代码。-  
               Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 -  
               Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
-  
               
 
-