public ContentType(String value) { if (value == null) throw new IllegalArgumentException("null value"); this.value = toCanonicalForm(value); if (baseType == null) throw new IllegalArgumentException("null base type"); }
public ContentType(String value) { if (value == null) throw new IllegalArgumentException("null value"); this.value = toCanonicalForm(value); if (baseType == null) throw new IllegalArgumentException("null base type"); }