Package org.elasticsearch.node
Class NodeValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.elasticsearch.node.NodeValidationException
- All Implemented Interfaces:
Serializable
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
ConstructorDescriptionNodeValidationException(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
-
Constructor Details
-
NodeValidationException
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
-