if (CHARSET_PATTERN.matcher(charSetValue).matches()) { throw new ContentNegotiatorException("Unsupported accept-header-charset = " + charSetValue, ContentNegotiatorException.MessageKeys.UNSUPPORTED_ACCEPT_HEADER_CHARSET, acceptedType.toString()); } else { throw new AcceptHeaderContentNegotiatorException( "Illegal charset in Accept header: " + charSetValue, AcceptHeaderContentNegotiatorException.MessageKeys.UNSUPPORTED_ACCEPT_HEADER_CHARSET, acceptedType.toString()); } else if (ieee754compatibleValue != null) { throw new IllegalArgumentException("Invalid IEEE754Compatible value in accept header:" + acceptedType.toString());
if (CHARSET_PATTERN.matcher(charSetValue).matches()) { throw new ContentNegotiatorException("Unsupported accept-header-charset = " + charSetValue, ContentNegotiatorException.MessageKeys.UNSUPPORTED_ACCEPT_HEADER_CHARSET, acceptedType.toString()); } else { throw new AcceptHeaderContentNegotiatorException( "Illegal charset in Accept header: " + charSetValue, AcceptHeaderContentNegotiatorException.MessageKeys.UNSUPPORTED_ACCEPT_HEADER_CHARSET, acceptedType.toString()); } else if (ieee754compatibleValue != null) { throw new IllegalArgumentException("Invalid IEEE754Compatible value in accept header:" + acceptedType.toString());