You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by bo...@apache.org on 2006/11/21 01:30:59 UTC

svn commit: r477437 - in /incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel: explang/ConfigurationException.java iapi/ContextException.java jmx/BpelEventNotification.java

Author: boisvert
Date: Mon Nov 20 16:30:58 2006
New Revision: 477437

URL: http://svn.apache.org/viewvc?view=rev&rev=477437
Log:
Add missing serialVersionUID's

Modified:
    incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/explang/ConfigurationException.java
    incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/ContextException.java
    incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/jmx/BpelEventNotification.java

Modified: incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/explang/ConfigurationException.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/explang/ConfigurationException.java?view=diff&rev=477437&r1=477436&r2=477437
==============================================================================
--- incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/explang/ConfigurationException.java (original)
+++ incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/explang/ConfigurationException.java Mon Nov 20 16:30:58 2006
@@ -21,12 +21,15 @@
 /**
  * Exception indicating thrown from the
  * {@link ExpressionLanguageRuntime#initialize(org.apache.ode.bpel.o.OExpressionLanguage)}
- * method indicating that the expression language processor could not be configured.
+ * method indicating that the expression language processor could not be
+ * configured.
  */
 public class ConfigurationException extends Exception {
 
-  public ConfigurationException(String msg, Throwable cause) {
-    super(msg, cause);
-  }
+	private static final long serialVersionUID = -4815181439145449891L;
+
+	public ConfigurationException(String msg, Throwable cause) {
+		super(msg, cause);
+	}
 
 }

Modified: incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/ContextException.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/ContextException.java?view=diff&rev=477437&r1=477436&r2=477437
==============================================================================
--- incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/ContextException.java (original)
+++ incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/ContextException.java Mon Nov 20 16:30:58 2006
@@ -20,16 +20,19 @@
 package org.apache.ode.bpel.iapi;
 
 /**
- * Exception thrown by the integration layer. 
- *
+ * Exception thrown by the integration layer.
+ * 
  */
 public class ContextException extends RuntimeException {
 
-  public ContextException() {
-    super();
-  }
-  public ContextException(String string, Exception ex) {
-    super(string,ex);
-  }
+	private static final long serialVersionUID = -3359898226556748371L;
+
+	public ContextException() {
+		super();
+	}
+
+	public ContextException(String string, Exception ex) {
+		super(string, ex);
+	}
 
 }

Modified: incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/jmx/BpelEventNotification.java
URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/jmx/BpelEventNotification.java?view=diff&rev=477437&r1=477436&r2=477437
==============================================================================
--- incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/jmx/BpelEventNotification.java (original)
+++ incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/jmx/BpelEventNotification.java Mon Nov 20 16:30:58 2006
@@ -23,28 +23,36 @@
 import javax.management.Notification;
 
 /**
- * JMX notification used to deliver {@link org.apache.ode.bpel.evt.BpelEvent}s to JMX
- * {@link javax.management.NotificationListener}s.
+ * JMX notification used to deliver {@link org.apache.ode.bpel.evt.BpelEvent}s
+ * to JMX {@link javax.management.NotificationListener}s.
  */
 public class BpelEventNotification extends Notification {
-  /**
-   * Constructor. Creates a JMX notification with a type matching the
-   * <em>class name</em> of the passed-in {@link BpelEvent} object.
-   * @param source originating object/{@link javax.management.ObjectName}
-   * @param sequence event sequence
-   * @param bpelEvent {@link BpelEvent} payload
-   */
-  public BpelEventNotification(Object source, long sequence, BpelEvent bpelEvent) {
-    super(bpelEvent.getClass().getName(), source, sequence);
-    setUserData(bpelEvent);
-  }
+	private static final long serialVersionUID = 5420803960639317141L;
 
-  /**
-   * Get the {@link BpelEvent} payload.
-   * @return {@link BpelEvent} payload.
-   */
-  public BpelEvent getBpelEvent() {
-    return (BpelEvent) getUserData();
-  }
+	/**
+	 * Constructor. Creates a JMX notification with a type matching the
+	 * <em>class name</em> of the passed-in {@link BpelEvent} object.
+	 * 
+	 * @param source
+	 *            originating object/{@link javax.management.ObjectName}
+	 * @param sequence
+	 *            event sequence
+	 * @param bpelEvent
+	 *            {@link BpelEvent} payload
+	 */
+	public BpelEventNotification(Object source, long sequence,
+			BpelEvent bpelEvent) {
+		super(bpelEvent.getClass().getName(), source, sequence);
+		setUserData(bpelEvent);
+	}
+
+	/**
+	 * Get the {@link BpelEvent} payload.
+	 * 
+	 * @return {@link BpelEvent} payload.
+	 */
+	public BpelEvent getBpelEvent() {
+		return (BpelEvent) getUserData();
+	}
 
 }