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

yandex.cloud.sdk.auth.metadata.MalformedURLException Maven / Gradle / Ivy

package yandex.cloud.sdk.auth.metadata;

/**
 * Signals that malformed URL has been found.
 */
public class MalformedURLException extends RuntimeException {
    /**
     * Malformed url that caused this exception
     */
    private final String url;

    public MalformedURLException(String url) {
        this.url = url;
    }

    public MalformedURLException(String url, Throwable cause) {
        super(cause);

        this.url = url;
    }

    @Override
    public String getMessage() {
        return "Malformed url: " + url;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy