com.hazelcast.config
Class InvalidConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hazelcast.config.InvalidConfigurationException
All Implemented Interfaces:
Serializable

public class InvalidConfigurationException
extends RuntimeException

A InvalidConfigurationException is thrown when there is an Invalid Configuration. Invalid Configuration can be a wrong Xml Config or logical config errors that are found at real time.

See Also:
Serialized Form

Constructor Summary
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidConfigurationException

public InvalidConfigurationException(String message)
Creates a InvalidConfigurationException with the given message.

Parameters:
message - The message for the exception.

InvalidConfigurationException

public InvalidConfigurationException(String message,
                                     Throwable cause)
** Constructs a new runtime exception with the specified detail message and cause.

Parameters:
message - The message for the runtime exception.
cause - The cause of the runtime exception.


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.