Package org.apache.flink.util
Class FlinkRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.util.FlinkRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FinishedTaskStateProvider.PartialFinishingNotSupportedByStateException
,RpcInvalidStateException
,UnsupportedTimeCharacteristicException
,WrappingRuntimeException
@Public public class FlinkRuntimeException extends RuntimeException
Base class of all Flink-specific unchecked exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlinkRuntimeException(String message)
Creates a new Exception with the given message and null as the cause.FlinkRuntimeException(String message, Throwable cause)
Creates a new exception with the given message and cause.FlinkRuntimeException(Throwable cause)
Creates a new exception with a null message and the given cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FlinkRuntimeException
public FlinkRuntimeException(String message)
Creates a new Exception with the given message and null as the cause.- Parameters:
message
- The exception message
-
FlinkRuntimeException
public FlinkRuntimeException(Throwable cause)
Creates a new exception with a null message and the given cause.- Parameters:
cause
- The exception that caused this exception
-
-