Package org.agorava.cdi.test.oauthsession

Examples of org.agorava.cdi.test.oauthsession.OAuthSessionWithCurrentAndProviderRelatedQualifiersException


public class AgoravaDeploymentExceptionTranformer implements DeploymentExceptionTransformer {
    @Override
    public Throwable transform(Throwable throwable) {
        if (throwable != null && throwable.getMessage().contains("OAuthSession cannot have @Current annotation and a " +
                "provider")) {
            return new OAuthSessionWithCurrentAndProviderRelatedQualifiersException("");
        } else {
            return null;
        }

    }
View Full Code Here

TOP

Related Classes of org.agorava.cdi.test.oauthsession.OAuthSessionWithCurrentAndProviderRelatedQualifiersException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.