Author: thomas.diesler(a)jboss.com
Date: 2007-10-20 15:22:55 -0400 (Sat, 20 Oct 2007)
New Revision: 4835
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/JAXRPCException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/ServiceException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/soap/SOAPException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/ProtocolException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/WebServiceException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/AddressingException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/http/HTTPException.java
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java
Log:
Add serialVersionUID to Exceptions
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/JAXRPCException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/JAXRPCException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/JAXRPCException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -28,6 +28,8 @@
*/
public class JAXRPCException extends RuntimeException
{
+ private static final long serialVersionUID = 2012915834079496799L;
+
public JAXRPCException()
{
}
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/ServiceException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/ServiceException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/ServiceException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -28,6 +28,8 @@
*/
public class ServiceException extends Exception
{
+ private static final long serialVersionUID = -4042547292194127311L;
+
public ServiceException()
{
}
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/rpc/soap/SOAPFaultException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -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/branches/jbossws-native-2.0.2/src/main/java/javax/xml/soap/SOAPException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/soap/SOAPException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/soap/SOAPException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -28,6 +28,8 @@
*/
public class SOAPException extends Exception
{
+ private static final long serialVersionUID = -4385552115225336830L;
+
public SOAPException()
{
}
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/ProtocolException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/ProtocolException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/ProtocolException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -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/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/WebServiceException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/WebServiceException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/WebServiceException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -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/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/ActionNotSupportedException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -27,6 +27,7 @@
public class ActionNotSupportedException extends AddressingException
{
+ private static final long serialVersionUID = -2281268200778671820L;
static
{
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/AddressingException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/AddressingException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/AddressingException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -28,6 +28,7 @@
public class AddressingException extends WebServiceException
{
+ private static final long serialVersionUID = -4470655951999027171L;
protected QName code;
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/DestinationUnreachableException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -27,6 +27,7 @@
public class DestinationUnreachableException extends AddressingException
{
+ private static final long serialVersionUID = 7420697131368408456L;
static
{
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/EndpointUnavailableException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -27,6 +27,7 @@
public class EndpointUnavailableException extends AddressingException
{
+ private static final long serialVersionUID = 4098776568071868541L;
static
{
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/InvalidMapException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -27,6 +27,7 @@
public class InvalidMapException extends AddressingException
{
+ private static final long serialVersionUID = 1760077070006214469L;
static
{
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/addressing/MapRequiredException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -27,6 +27,7 @@
public class MapRequiredException extends AddressingException
{
+ private static final long serialVersionUID = 7593796661805754938L;
static
{
Modified:
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/http/HTTPException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/http/HTTPException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/http/HTTPException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -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/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java
===================================================================
---
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java 2007-10-20
19:17:27 UTC (rev 4834)
+++
stack/native/branches/jbossws-native-2.0.2/src/main/java/javax/xml/ws/soap/SOAPFaultException.java 2007-10-20
19:22:55 UTC (rev 4835)
@@ -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