Class ContentFilterException

All Implemented Interfaces:
Serializable

public class ContentFilterException extends BadRequestException
Input or output blocked by content moderation (wire code DataInspectionFailed). The catalog entry behind it (content_policy_violation) names BadRequestException; refinement into a dedicated subclass keeps moderation blocks catchable on their own — subclassing is the only sanctioned refinement.
See Also: