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:
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(String message)
Creates a InvalidConfigurationException with the given message.InvalidConfigurationException(String message, Throwable cause)
Constructs a new runtime exception with the specified detail 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 Details
-
InvalidConfigurationException
Creates a InvalidConfigurationException with the given message.- Parameters:
message
- the message for the exception
-
InvalidConfigurationException
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
-