Author: thomas.diesler(a)jboss.com
Date: 2007-10-19 17:26:39 -0400 (Fri, 19 Oct 2007)
New Revision: 4812
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/ProtocolException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/WebServiceException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/AddressingException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/http/HTTPException.java
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java
Log:
Add serialVersionUID to Exceptions
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -48,6 +48,8 @@
*/
public class SOAPFaultException extends RuntimeException
{
+ private static final long serialVersionUID = 2231461982722876067L;
+
// provide logging
private static Logger log = Logger.getLogger(SOAPFaultException.class.getName());
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/ProtocolException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/ProtocolException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/ProtocolException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -32,6 +32,8 @@
**/
public class ProtocolException extends WebServiceException
{
+ private static final long serialVersionUID = 6688436881502883481L;
+
/**
* Constructs a new protocol exception with null as its detail message. The
* cause is not initialized, and may subsequently be initialized by a call
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/WebServiceException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/WebServiceException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/WebServiceException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -31,6 +31,7 @@
public class WebServiceException extends java.lang.RuntimeException
{
+ private static final long serialVersionUID = 9050257594613372011L;
/** Constructs a new exception with <code>null</code> as its
* detail message. The cause is not initialized.
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -27,6 +27,7 @@
public class ActionNotSupportedException extends AddressingException
{
+ private static final long serialVersionUID = -2281268200778671820L;
static
{
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/AddressingException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/AddressingException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/AddressingException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -28,6 +28,7 @@
public class AddressingException extends WebServiceException
{
+ private static final long serialVersionUID = -4470655951999027171L;
protected QName code;
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -27,6 +27,7 @@
public class DestinationUnreachableException extends AddressingException
{
+ private static final long serialVersionUID = 7420697131368408456L;
static
{
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -27,6 +27,7 @@
public class EndpointUnavailableException extends AddressingException
{
+ private static final long serialVersionUID = 4098776568071868541L;
static
{
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -27,6 +27,7 @@
public class InvalidMapException extends AddressingException
{
+ private static final long serialVersionUID = 1760077070006214469L;
static
{
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -27,6 +27,7 @@
public class MapRequiredException extends AddressingException
{
+ private static final long serialVersionUID = 7593796661805754938L;
static
{
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/http/HTTPException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/http/HTTPException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/http/HTTPException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -23,7 +23,6 @@
// $Id$
-
/** The <code>HTTPException</code> exception represents a
* XML/HTTP fault.
*
@@ -31,24 +30,28 @@
* in XML/HTTP messaging, only the HTTP status code is captured.
*
* @since JAX-WS 2.0
-**/
-public class HTTPException extends javax.xml.ws.ProtocolException {
-
- private int statusCode;
+ **/
+public class HTTPException extends javax.xml.ws.ProtocolException
+{
+ private static final long serialVersionUID = -7126704204037460302L;
+
+ 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;
- }
+ /** Constructor for the HTTPException
+ * @param statusCode <code>int</code> for the HTTP status code
+ **/
+ public HTTPException(int statusCode)
+ {
+ super();
+ this.statusCode = statusCode;
+ }
- /** Gets the HTTP status code.
- *
- * @return HTTP status code
- **/
- public int getStatusCode() {
- return statusCode;
- }
+ /** Gets the HTTP status code.
+ *
+ * @return HTTP status code
+ **/
+ public int getStatusCode()
+ {
+ return statusCode;
+ }
}
Modified:
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java
===================================================================
---
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java 2007-10-19
20:55:14 UTC (rev 4811)
+++
stack/native/tags/jbossws-native-2.0.1.SP2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java 2007-10-19
21:26:39 UTC (rev 4812)
@@ -50,7 +50,8 @@
**/
public class SOAPFaultException extends javax.xml.ws.ProtocolException
{
-
+ private static final long serialVersionUID = 3948617580148536298L;
+
private SOAPFault fault;
/** Constructor for SOAPFaultException
Show replies by date