com.lk.api.exception.ValidDataException Maven / Gradle / Ivy
package com.lk.api.exception;
import java.util.HashMap;
import java.util.Map;
public class ValidDataException extends RuntimeException{
private static final long serialVersionUID = 3835326258670411310L;
private Map errors = new HashMap();
public ValidDataException() {
super();
}
public ValidDataException(String message) {
super(message);
}
public Map getErrors() {
return errors;
}
public void setErrors(Map errors) {
this.errors = errors;
}
}