Class StreamTaskException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.flink.streaming.runtime.tasks.StreamTaskException
- All Implemented Interfaces:
Serializable
An exception that is thrown by the stream vertices when encountering an illegal condition.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a compiler exception with no message and no cause.StreamTaskException(String message) Creates a compiler exception with the given message and no cause.StreamTaskException(String message, Throwable cause) Creates a compiler exception with the given message and cause.StreamTaskException(Throwable cause) Creates a compiler exception with the given cause and no message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamTaskException
public StreamTaskException()Creates a compiler exception with no message and no cause. -
StreamTaskException
Creates a compiler exception with the given message and no cause.- Parameters:
message- The message for the exception.
-
StreamTaskException
Creates a compiler exception with the given cause and no message.- Parameters:
cause- The Throwable that caused this exception.
-
StreamTaskException
Creates a compiler exception with the given message and cause.- Parameters:
message- The message for the exception.cause- The Throwable that caused this exception.
-