pro.jk.ejoker.common.system.exceptions.ArgumentOutOfRangeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ejoker-common Show documentation
Show all versions of ejoker-common Show documentation
EJoker is a CQRS + EventSourcing framwork
package pro.jk.ejoker.common.system.exceptions;
public class ArgumentOutOfRangeException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = -1616968528869678551L;
public ArgumentOutOfRangeException(String message) {
super(message +" is out of range!!!");
}
public ArgumentOutOfRangeException(String message, String desc) {
super(message +" is out of range!!! It should be " +desc);
}
}