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

com.checkout.CheckoutAuthorizationException Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
package com.checkout;

import static java.lang.String.format;

public class CheckoutAuthorizationException extends CheckoutException {

    public CheckoutAuthorizationException(final String message) {
        super(message);
    }

    public static CheckoutAuthorizationException invalidAuthorization(final SdkAuthorizationType authorizationType) {
        return new CheckoutAuthorizationException(format("Operation requires %s authorization type", authorizationType));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy