com.softicar.platform.common.core.exceptions.SofticarUnknownEnumConstantException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.exceptions;
/**
* Throw this exception if you encounter an unexpected enum value.
*
* @author Oliver Richers
*/
public class SofticarUnknownEnumConstantException extends SofticarDeveloperException {
private static final long serialVersionUID = 1L;
public SofticarUnknownEnumConstantException(Enum constant) {
super("The enum constant %s of the type %s is unknown.", constant, constant.getClass().getCanonicalName());
}
}