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:
Serializable

public class ActionRequestValidationException
extends ElasticSearchException

See Also:
Serialized Form

Constructor Summary
ActionRequestValidationException()
           
 
Method Summary
 void addValidationError(String error)
           
 void addValidationErrors(Iterable<String> errors)
           
 String getMessage()
           
 List<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(String error)

addValidationErrors

public void addValidationErrors(Iterable<String> errors)

validationErrors

public List<String> validationErrors()

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2009-2012. All Rights Reserved.