cz.active24.client.fred.exception.ServerResponseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.exception;
import cz.active24.client.fred.eppclient.ErrorResponse;
import java.util.List;
/**
* Exception is thrown when server returns error.
*/
public class ServerResponseException extends FredClientException {
private List errors;
public ServerResponseException(List errors) {
super("Server returned error!");
this.errors = errors;
}
public List getErrors() {
return errors;
}
public void setErrors(List errors) {
this.errors = errors;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("Server returned error! ");
sb.append("Errors=").append(errors);
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy