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
@Internal public class StreamTaskException extends RuntimeException
An exception that is thrown by the stream vertices when encountering an illegal condition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamTaskException()
Creates 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 Detail
-
StreamTaskException
public StreamTaskException()
Creates a compiler exception with no message and no cause.
-
StreamTaskException
public StreamTaskException(String message)
Creates a compiler exception with the given message and no cause.- Parameters:
message
- The message for the exception.
-
StreamTaskException
public StreamTaskException(Throwable cause)
Creates a compiler exception with the given cause and no message.- Parameters:
cause
- The Throwable that caused this exception.
-
-