Package org.apache.flink.api.common
Class NonSerializableUserCodeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.api.common.InvalidProgramException
-
- org.apache.flink.api.common.NonSerializableUserCodeException
-
- All Implemented Interfaces:
Serializable
@Public public class NonSerializableUserCodeException extends InvalidProgramException
An special case of theInvalidProgramException
, indicating that a part of the program that needs to be serializable (for shipping) is not serializable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonSerializableUserCodeException()
Creates a new exception with no message.NonSerializableUserCodeException(String message)
Creates a new exception with the given 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
-
NonSerializableUserCodeException
public NonSerializableUserCodeException()
Creates a new exception with no message.
-
NonSerializableUserCodeException
public NonSerializableUserCodeException(String message)
Creates a new exception with the given message.- Parameters:
message
- The exception message.
-
-