class Utils {

    static OWLDatatype ensureDatatype(final OWLDataRange r) {
        if (!r.isOWLDatatype()) {
            throw new UnsupportedICException("Data ranges not supported: " + r);
        }

        if (!r.asOWLDatatype().isBuiltIn()) {
            throw new UnsupportedICException("Only built in datatypes are supported: " + r);
        }
        return r.asOWLDatatype();
    }

    private  Utils();

}