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:01:25 UTC

svn commit: r931874 - /tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchServiceException.java

Author: antelder
Date: Thu Apr  8 11:01:25 2010
New Revision: 931874

URL: http://svn.apache.org/viewvc?rev=931874&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/NoSuchServiceException.java

Modified: tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchServiceException.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchServiceException.java?rev=931874&r1=931873&r2=931874&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchServiceException.java (original)
+++ tuscany/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchServiceException.java Thu Apr  8 11:01:25 2010
@@ -1,41 +1,56 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- * 
- *   http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.    
+ * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved.
+ * OASIS trademark, IPR and other policies apply.
  */
-
 package org.oasisopen.sca;
 
-public class NoSuchServiceException extends Exception {
-    private static final long serialVersionUID = -3542376318558454581L;
+/**
+ * This exception signals that the given SCA service does not exist. 
+ */
 
+public class NoSuchServiceException extends Exception {
+    /**
+     * Constructs a NoSuchServiceException with no detail message. 
+     */
     public NoSuchServiceException() {
-        super((Throwable)null);
+        super();
     }
 
+    /**
+     * Constructs a NoSuchServiceException with the specified detail
+     * message. 
+     *
+     * @param     message the detail message
+     */
     public NoSuchServiceException(String message) {
         super(message);
     }
 
-    public NoSuchServiceException(Throwable cause) {
-        super(cause);
-    }
-
+    /**
+     * Constructs a NoSuchServiceException with the specified detail
+     * message and cause.
+     *
+     * 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 NoSuchServiceException(String message, Throwable cause) {
         super(message, cause);
     }
+ 
+    /**
+     * Constructs a NoSuchServiceException with the specified cause and a
+     * detail message of <tt>(cause==null ? null : cause.toString())</tt>.
+     *
+     * @param     cause the cause, or null if the cause is nonexistent
+     *            or unknown
+     */
+    public NoSuchServiceException(Throwable cause) {
+        super(cause);
+    }
 
+    private static final long serialVersionUID = 6761623124602414622L;
 }