Class PolicyViolationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PolicyViolationException
    extends ApiException
    Exception thrown if a create topics request does not satisfy the configured policy for a topic.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PolicyViolationException

        public PolicyViolationException​(java.lang.String message)
      • PolicyViolationException

        public PolicyViolationException​(java.lang.String message,
                                        java.lang.Throwable cause)