Class ContentFilteredException

All Implemented Interfaces:
Serializable

public class ContentFilteredException extends InvalidRequestException
Exception thrown when the LLM provider refuses to process a request due to content filtering or violation of usage policies.

This typically indicates that the input was flagged as inappropriate, unsafe, or against the provider’s content guidelines.

Since:
1.2.0
See Also:
  • Constructor Details

    • ContentFilteredException

      public ContentFilteredException(String message)
    • ContentFilteredException

      public ContentFilteredException(Throwable cause)
    • ContentFilteredException

      public ContentFilteredException(String message, Throwable cause)