Class RestHandlerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.flink.util.FlinkException
-
- org.apache.flink.runtime.rest.handler.RestHandlerException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NotFoundException
public class RestHandlerException extends FlinkException
An exception that is thrown if the failure of a REST operation was detected by a handler.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestHandlerException.LoggingBehavior
Enum to control logging behavior of RestHandlerExceptions.
-
Constructor Summary
Constructors Constructor Description RestHandlerException(String errorMessage, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus)
RestHandlerException(String errorMessage, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus, Throwable cause)
RestHandlerException(String errorMessage, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus httpResponseStatus, RestHandlerException.LoggingBehavior loggingBehavior)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpResponseStatus
getHttpResponseStatus()
boolean
logException()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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)
-
-