
com.raynigon.unit.api.jackson.exception.UnknownUnitException 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 UnknownUnitException extends JsonMappingException {
public UnknownUnitException(Closeable processor, String unitName) {
super(processor, "Unknown Unit: " + unitName);
}
@SuppressWarnings("rawtypes")
public UnknownUnitException(Closeable processor, Class quantityType) {
super(processor, "Unknown Unit for Quantity Type: " + quantityType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy