Package com.alibaba.dashscope.errors
Class ContentFilterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.alibaba.dashscope.errors.DashScopeException
com.alibaba.dashscope.errors.ApiStatusException
com.alibaba.dashscope.errors.BadRequestException
com.alibaba.dashscope.errors.ContentFilterException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
Fields inherited from class com.alibaba.dashscope.errors.BadRequestException
STATUS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.alibaba.dashscope.errors.DashScopeException
getBody, getCode, getHeaders, getRequestId, getStatusCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ContentFilterException
-