You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/04/08 13:03:05 UTC
svn commit: r931876 -
/tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java
Author: antelder
Date: Thu Apr 8 11:03:04 2010
New Revision: 931876
URL: http://svn.apache.org/viewvc?rev=931876&view=rev
Log:
Update sca-api with latest OASIS code, these ones have only formatting and javadoc changes
Modified:
tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java
Modified: tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java?rev=931876&r1=931875&r2=931876&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java (original)
+++ tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java Thu Apr 8 11:03:04 2010
@@ -1,55 +1,55 @@
/*
- * Copyright(C) OASIS(R) 2005,2009. All Rights Reserved.
+ * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved.
* OASIS trademark, IPR and other policies apply.
*/
package org.oasisopen.sca;
-
/**
- * Base for Exceptions that may be raised by an SCA runtime and which typical
- * application code is not expected to be able to handle.
- *
- * @version $Rev$ $Date$
+ * This exception signals problems in the management of SCA component execution.
*/
public class ServiceRuntimeException extends RuntimeException {
- private static final long serialVersionUID = -3876058842262557092L;
-
/**
- * Override constructor from RuntimeException.
- *
- * @see RuntimeException
+ * Constructs a ServiceRuntimeException with no detail message.
*/
public ServiceRuntimeException() {
+ super();
}
/**
- * Override constructor from RuntimeException.
+ * Constructs a ServiceRuntimeException with the specified detail
+ * message.
*
- * @param message passed to RuntimeException
- * @see RuntimeException
+ * @param message the detail message
*/
public ServiceRuntimeException(String message) {
super(message);
}
/**
- * Override constructor from RuntimeException.
+ * Constructs a ServiceRuntimeException with the specified detail
+ * message and cause.
*
- * @param message passed to RuntimeException
- * @param cause passed to RuntimeException
- * @see RuntimeException
+ * The detail message associated with <code>cause</code> is not
+ * automatically incorporated in this exception's detail message.
+ *
+ * @param message the detail message
+ * @param cause the cause, or null if the cause is nonexistent
+ * or unknown
*/
public ServiceRuntimeException(String message, Throwable cause) {
super(message, cause);
}
-
+
/**
- * Override constructor from RuntimeException.
+ * Constructs a ServiceRuntimeException with the specified cause and a
+ * detail message of <tt>(cause==null ? null : cause.toString())</tt>.
*
- * @param cause passed to RuntimeException
- * @see RuntimeException
+ * @param cause the cause, or null if the cause is nonexistent
+ * or unknown
*/
public ServiceRuntimeException(Throwable cause) {
super(cause);
}
+
+ private static final long serialVersionUID = 6761623124602414622L;
}