Package org.apache.flink.client.program
Class ProgramInvocationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.flink.client.program.ProgramInvocationException
-
- All Implemented Interfaces:
Serializable
public class ProgramInvocationException extends Exception
Exception used to indicate that there is an error during the invocation of a Flink program.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProgramInvocationException(String message)
Creates a ProgramInvocationException with the given message.ProgramInvocationException(String message, Throwable cause)
Creates a ProgramInvocationException for the given exception with an additional message.ProgramInvocationException(String message, JobID jobID)
Creates a ProgramInvocationException with the given message which contains job id.ProgramInvocationException(String message, JobID jobID, Throwable cause)
Creates a ProgramInvocationException for the given exception with an additional message which contains job id.ProgramInvocationException(Throwable cause)
Creates a ProgramInvocationException for the given exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProgramInvocationException
public ProgramInvocationException(String message)
Creates a ProgramInvocationException with the given message.- Parameters:
message
- The message for the exception.
-
ProgramInvocationException
public ProgramInvocationException(String message, JobID jobID)
Creates a ProgramInvocationException with the given message which contains job id.- Parameters:
message
- The additional message.jobID
- ID of failed job.
-
ProgramInvocationException
public ProgramInvocationException(Throwable cause)
Creates a ProgramInvocationException for the given exception.- Parameters:
cause
- The exception that causes the program invocation to fail.
-
ProgramInvocationException
public ProgramInvocationException(String message, Throwable cause)
Creates a ProgramInvocationException for the given exception with an additional message.- Parameters:
message
- The additional message.cause
- The exception that causes the program invocation to fail.
-
ProgramInvocationException
public ProgramInvocationException(String message, JobID jobID, Throwable cause)
Creates a ProgramInvocationException for the given exception with an additional message which contains job id.- Parameters:
message
- The additional message.jobID
- ID of failed job.cause
- The exception that causes the program invocation to fail.
-
-