com.eligible.exception.InvalidRequestException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eligible-java Show documentation
Show all versions of eligible-java Show documentation
Java bindings for Eligible APIs (https://eligible.com).
package com.eligible.exception;
import lombok.Getter;
/**
* Invalid or Incomplete request exception.
*/
public class InvalidRequestException extends EligibleException {
private static final long serialVersionUID = 1L;
/**
* Param name.
*/
@Getter
private final String param;
/**
* Create InvalidRequestException.
*
* @param message message
*/
public InvalidRequestException(String message) {
this(message, null);
}
/**
* Create InvalidRequestException.
*
* @param message message
* @param param param name
*/
public InvalidRequestException(String message, String param) {
super(message);
this.param = param;
}
/**
* Create InvalidRequestException.
*
* @param message message
* @param param param name
* @param e cause
*/
public InvalidRequestException(String message, String param, Throwable e) {
super(message, e);
this.param = param;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy