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

com.raynigon.unit.api.jackson.exception.IncompatibleUnitException Maven / Gradle / Ivy

There is a newer version: 3.0.8
Show newest version
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