![JAR search and dependency download from the Maven repository](/logo.png)
com.raynigon.unit.api.jackson.exception.MissingUnitException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unit-api-jackson Show documentation
Show all versions of unit-api-jackson Show documentation
The unit-api-jackson is a part of the unit-api
package com.raynigon.unit.api.jackson.exception;
import com.fasterxml.jackson.databind.JsonMappingException;
import javax.measure.Quantity;
import java.io.Closeable;
public class MissingUnitException extends JsonMappingException {
public MissingUnitException(Closeable processor, String unitName) {
super(processor, "Missing Unit: " + unitName);
}
@SuppressWarnings("rawtypes")
public MissingUnitException(Closeable processor, Class quantityType) {
super(processor, "Missing Unit for Quantity Type: " + quantityType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy