Package org.apache.flink.api.common
Class InvalidProgramException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.api.common.InvalidProgramException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidTypesException
,NonSerializableUserCodeException
,SemanticProperties.InvalidSemanticAnnotationException
@Public public class InvalidProgramException extends RuntimeException
An exception thrown to indicate that the composed program is invalid. Examples of invalid programs are operations where crucial parameters are omitted, or functions where the input type and the type signature do not match.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidProgramException()
Creates a new exception with no message.InvalidProgramException(String message)
Creates a new exception with the given message.InvalidProgramException(String message, Throwable e)
Creates a new exception with the given message and 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
-
InvalidProgramException
public InvalidProgramException()
Creates a new exception with no message.
-
InvalidProgramException
public InvalidProgramException(String message)
Creates a new exception with the given message.- Parameters:
message
- The exception message.
-
-