summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchDomainException.java62
1 files changed, 39 insertions, 23 deletions
diff --git a/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchDomainException.java b/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchDomainException.java
index 51a4dbe3ad..d0f8a3e24d 100644
--- a/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchDomainException.java
+++ b/sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen/sca/NoSuchDomainException.java
@@ -1,40 +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 NoSuchDomainException extends Exception {
- private static final long serialVersionUID = -3990087696861167748L;
+/**
+ * This exception signals that the given SCA Domain does not exist.
+ */
+public class NoSuchDomainException extends Exception {
+ /**
+ * Constructs a NoSuchDomainException with no detail message.
+ */
public NoSuchDomainException() {
- super((Throwable)null);
+ super();
}
+ /**
+ * Constructs a NoSuchDomainException with the specified detail
+ * message.
+ *
+ * @param message the detail message
+ */
public NoSuchDomainException(String message) {
super(message);
}
+ /**
+ * Constructs a NoSuchDomainException 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 NoSuchDomainException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ /**
+ * Constructs a NoSuchDomainException 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 NoSuchDomainException(Throwable cause) {
super(cause);
}
- public NoSuchDomainException(String message, Throwable cause) {
- super(message, cause);
- }
+ private static final long serialVersionUID = 6761623124602414622L;
}