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

cz.active24.client.fred.exception.ValidationException Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
package cz.active24.client.fred.exception;

/**
 * Exception is thrown when input validation failed.
 */
public class ValidationException extends FredClientException {

    private String errorCode;

    public ValidationException(String message) {
        super(message);
    }

    public ValidationException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public ValidationException(String errorCode, String message, Throwable throwable) {
        super(message, throwable);
        this.errorCode = errorCode;
    }

    public String getErrorCode() {
        return errorCode;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy