Class RestHandlerException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    NotFoundException

    public class RestHandlerException
    extends org.apache.flink.util.FlinkException
    An exception that is thrown if the failure of a REST operation was detected by a handler.
    See Also:
    Serialized Form
    • Constructor Detail

      • RestHandlerException

        public RestHandlerException​(String errorMessage,
                                    org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus)
      • RestHandlerException

        public RestHandlerException​(String errorMessage,
                                    org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus,
                                    RestHandlerException.LoggingBehavior loggingBehavior)
      • RestHandlerException

        public RestHandlerException​(String errorMessage,
                                    org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus,
                                    Throwable cause)
    • Method Detail

      • getHttpResponseStatus

        public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus getHttpResponseStatus()
      • logException

        public boolean logException()