![JAR search and dependency download from the Maven repository](/logo.png)
com.raynigon.unit.api.jackson.exception.IncompatibleUnitException 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 javax.measure.Unit;
import java.io.Closeable;
public class IncompatibleUnitException extends JsonMappingException {
public IncompatibleUnitException(Closeable processor, Unit> systemUnit, Unit> annotatedUnit) {
super(processor, "Annotated Unit " + annotatedUnit + " is not compatible to " + systemUnit);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy