org.elasticsearch.action
Class ActionRequestValidationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.elasticsearch.ElasticSearchException
                  extended by org.elasticsearch.action.ActionRequestValidationException
All Implemented Interfaces:
java.io.Serializable

public class ActionRequestValidationException
extends ElasticSearchException

See Also:
Serialized Form

Constructor Summary
ActionRequestValidationException()
           
 
Method Summary
 void addValidationError(java.lang.String error)
           
 void addValidationErrors(java.lang.Iterable<java.lang.String> errors)
           
 java.lang.String getMessage()
           
 java.util.List<java.lang.String> validationErrors()
           
 
Methods inherited from class org.elasticsearch.ElasticSearchException
contains, getDetailedMessage, getMostSpecificCause, getRootCause, status, unwrapCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ActionRequestValidationException

public ActionRequestValidationException()
Method Detail

addValidationError

public void addValidationError(java.lang.String error)

addValidationErrors

public void addValidationErrors(java.lang.Iterable<java.lang.String> errors)

validationErrors

public java.util.List<java.lang.String> validationErrors()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable