Package com.hazelcast.config
Class InvalidConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.hazelcast.core.HazelcastException
-
- com.hazelcast.config.InvalidConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidConfigurationException extends HazelcastException
A InvalidConfigurationException is thrown when an Hazelcast faces an invalid configuration. Invalid configuration is detected during initialization of an instance generally. Still, it is possible to run into InvalidConfigurationExceptions during run time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidConfigurationException(java.lang.String message)
Creates a InvalidConfigurationException with the given message.InvalidConfigurationException(java.lang.String message, java.lang.Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.
-
-
-
Constructor Detail
-
InvalidConfigurationException
public InvalidConfigurationException(java.lang.String message)
Creates a InvalidConfigurationException with the given message.- Parameters:
message
- the message for the exception
-
InvalidConfigurationException
public InvalidConfigurationException(java.lang.String message, java.lang.Throwable cause)
Constructs a new runtime exception with the specified detail message and cause.- Parameters:
message
- the message for the runtime exceptioncause
- the cause of the runtime exception
-
-