Package org.elasticsearch.node
Class NodeValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.elasticsearch.node.NodeValidationException
- All Implemented Interfaces:
java.io.Serializable
public class NodeValidationException
extends java.lang.Exception
An exception thrown during node validation. Node validation runs immediately before a node
begins accepting network requests in
Node.validateNodeBeforeAcceptingRequests(org.elasticsearch.bootstrap.BootstrapContext, BoundTransportAddress, List)
.
This exception is a checked exception that is declared as thrown from this method for the purpose of bubbling up to the user.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NodeValidationException(java.lang.String message)
Creates a node validation exception with the specified validation message to be displayed to the user. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
NodeValidationException
public NodeValidationException(java.lang.String message)Creates a node validation exception with the specified validation message to be displayed to the user.- Parameters:
message
- the message to display to the user
-