tech.jhipster.lite.shared.enumeration.domain.UnmappableEnumException Maven / Gradle / Ivy
package tech.jhipster.lite.shared.enumeration.domain;
import tech.jhipster.lite.shared.error.domain.GeneratorException;
class UnmappableEnumException extends GeneratorException {
public , U extends Enum> UnmappableEnumException(Class from, Class to) {
super(internalServerError(EnumsErrorKey.UNMAPPABLE_ENUM).message("Can't map " + from + " to " + to));
}
}