Package org.apache.flink.configuration
Class IllegalConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.flink.configuration.IllegalConfigurationException
-
- All Implemented Interfaces:
Serializable
@PublicEvolving public class IllegalConfigurationException extends RuntimeException
AnIllegalConfigurationException
is thrown when the values in a givenConfiguration
are not valid. This may refer to the Flink configuration with which the framework is started, or a Configuration passed internally between components.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalConfigurationException(String message)
Constructs an new IllegalConfigurationException with the given error message.IllegalConfigurationException(String format, Object... arguments)
Constructs an new IllegalConfigurationException with the given error message format and arguments.IllegalConfigurationException(String message, Throwable cause)
Constructs an new IllegalConfigurationException with the given error message and a 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
-
IllegalConfigurationException
public IllegalConfigurationException(String message)
Constructs an new IllegalConfigurationException with the given error message.- Parameters:
message
- The error message for the exception.
-
IllegalConfigurationException
public IllegalConfigurationException(String format, Object... arguments)
Constructs an new IllegalConfigurationException with the given error message format and arguments.- Parameters:
format
- The error message format for the exception.arguments
- The arguments for the format.
-
IllegalConfigurationException
public IllegalConfigurationException(String message, Throwable cause)
Constructs an new IllegalConfigurationException with the given error message and a given cause.- Parameters:
message
- The error message for the exception.cause
- The exception that caused this exception.
-
-