All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.core.exceptions.SofticarUnknownEnumConstantException Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
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());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy