Package org.apache.flink.util
Class FlinkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.flink.util.FlinkException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationException
,DynamicCodeLoadingException
,StateMigrationException
@Public public class FlinkException extends Exception
Base class of all Flink-specific checked exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlinkException(String message)
Creates a new Exception with the given message and null as the cause.FlinkException(String message, Throwable cause)
Creates a new exception with the given message and cause.FlinkException(Throwable cause)
Creates a new exception with a null message and the given 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
-
FlinkException
public FlinkException(String message)
Creates a new Exception with the given message and null as the cause.- Parameters:
message
- The exception message
-
FlinkException
public FlinkException(Throwable cause)
Creates a new exception with a null message and the given cause.- Parameters:
cause
- The exception that caused this exception
-
-