![JAR search and dependency download from the Maven repository](/logo.png)
com.sparkpost.exception.SparkPostAuthorizationFailedException Maven / Gradle / Ivy
package com.sparkpost.exception;
public class SparkPostAuthorizationFailedException extends SparkPostException {
private static final long serialVersionUID = 3695537080454452130L;
private static final String MESSAGE = "Authorization failed. Check your API key.";
private final String serverMessage;
public SparkPostAuthorizationFailedException() {
super(MESSAGE);
this.serverMessage = MESSAGE;
}
public SparkPostAuthorizationFailedException(String serverMessage) {
super(MESSAGE);
this.serverMessage = serverMessage;
}
public String getServerMessage() {
return this.serverMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy