From 18d07b978214ecdcdc133e38a82a5618960f350b Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 8 Apr 2010 11:00:43 +0000 Subject: Update sca-api with latest OASIS code, these ones have only formatting and javadoc changes git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@931873 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/oasisopen/sca/NoSuchDomainException.java | 62 ++++++++++++++-------- 1 file changed, 39 insertions(+), 23 deletions(-) (limited to 'sca-java-2.x/trunk/modules/sca-api/src/main/java/org/oasisopen') 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 cause 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 (cause==null ? null : cause.toString()). + * + * @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; } -- cgit v1.2.3