Package org.elasticsearch.node
Class NodeValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.elasticsearch.node.NodeValidationException
-
- All Implemented Interfaces:
Serializable
public class NodeValidationException extends Exception
An exception thrown during node validation. Node validation runs immediately before a node begins accepting network requests inNode.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(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 Detail
-
NodeValidationException
public NodeValidationException(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
-
-