All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.links.impl.ServiceDiscoveryException Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha3
Show newest version
package org.jboss.resteasy.links.impl;

import java.lang.reflect.Method;

import org.jboss.resteasy.links.i18n.Messages;
import org.jboss.resteasy.spi.Failure;

public class ServiceDiscoveryException extends Failure {

    public ServiceDiscoveryException(final Method m, final String s) {
        super(Messages.MESSAGES.discoveryFailedForMethod(m.getDeclaringClass().getName(), m.getName(), s));
    }

    public ServiceDiscoveryException(final Method m, final String s, final Throwable cause) {
        super(Messages.MESSAGES.discoveryFailedForMethod(m.getDeclaringClass().getName(), m.getName(), s), cause);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy