< prev index next >
src/java.xml.ws/share/classes/javax/xml/ws/http/HTTPException.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 24,34 ****
*/
package javax.xml.ws.http;
! /** The <code>HTTPException</code> exception represents a
* XML/HTTP fault.
*
* <p>Since there is no standard format for faults or exceptions
* in XML/HTTP messaging, only the HTTP status code is captured.
*
--- 24,34 ----
*/
package javax.xml.ws.http;
! /** The {@code HTTPException} exception represents a
* XML/HTTP fault.
*
* <p>Since there is no standard format for faults or exceptions
* in XML/HTTP messaging, only the HTTP status code is captured.
*
*** 37,47 ****
public class HTTPException extends javax.xml.ws.ProtocolException {
private int statusCode;
/** Constructor for the HTTPException
! * @param statusCode <code>int</code> for the HTTP status code
**/
public HTTPException(int statusCode) {
super();
this.statusCode = statusCode;
}
--- 37,47 ----
public class HTTPException extends javax.xml.ws.ProtocolException {
private int statusCode;
/** Constructor for the HTTPException
! * @param statusCode {@code int} for the HTTP status code
**/
public HTTPException(int statusCode) {
super();
this.statusCode = statusCode;
}
< prev index next >