if (f == null) final String msg = format("Attempt to constrain datatype (%s) with unsupported constraining facet ('%s' , '%s')", getDatatype(), facet, value); _logger.severe(msg); throw new InvalidConstrainingFacetException(msg, facet, value); if (c == null || !isValidValue(c)) final String msg = format("Attempt to constrain datatype (%s) using constraining facet ('%s') with an unsupported value ('%s')", getDatatype(), f, value); _logger.severe(msg); throw new InvalidConstrainingFacetException(msg, facet, value);
if (f == null) final String msg = format("Attempt to constrain datatype (%s) with unsupported constraining facet ('%s' , '%s')", getDatatype(), facet, value); _logger.severe(msg); throw new InvalidConstrainingFacetException(msg, facet, value); if (c == null || !isValidValue(c)) final String msg = format("Attempt to constrain datatype (%s) using constraining facet ('%s') with an unsupported value ('%s')", getDatatype(), f, value); _logger.severe(msg); throw new InvalidConstrainingFacetException(msg, facet, value);