org.fabric3.introspection.impl.contract.OverloadedOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric3-introspection Show documentation
Show all versions of fabric3-introspection Show documentation
Fabric3 Introspection Implementation.
/*
* Fabric3
* Copyright ? 2008 Metaform Systems Limited
*
* This proprietary software may be used only connection with the Fabric3 license
* (the ?License?), a copy of which is included in the software or may be
* obtained at: http://www.metaformsystems.com/licenses/license.html.
* Software distributed under the License is distributed on an ?as is? basis,
* without warranties or conditions of any kind. See the License for the
* specific language governing permissions and limitations of use of the software.
* This software is distributed in conjunction with other software licensed under
* different terms. See the separate licenses for those programs included in the
* distribution for the permitted and restricted uses of such software.
*
*/
package org.fabric3.introspection.impl.contract;
import java.lang.reflect.Method;
import org.fabric3.model.type.ValidationFailure;
/**
* Indicates that a service contract specification contains an overloaded method.
*
* @version $Rev: 6194 $ $Date: 2008-12-05 15:52:09 +0000 (Fri, 05 Dec 2008) $
*/
public class OverloadedOperation extends ValidationFailure {
public OverloadedOperation(Method method) {
super(method);
}
public String getMessage() {
return "Overloaded operation not allowed on remotable interface: " + getValidatable();
}
}