Class ItemSearchRequestValidationException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ItemSearchRequest getRejectedRequest()
      Retrieves item search request that failed validation.
      • 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 Detail

      • ItemSearchRequestValidationException

        public ItemSearchRequestValidationException​(ItemSearchRequest request)
        Instantiates this exception
        Parameters:
        request - request that did not pass validation
      • ItemSearchRequestValidationException

        public ItemSearchRequestValidationException​(ItemSearchRequest request,
                                                    java.lang.String message)
        Instantiates this exception with a provided message explaining the validation error.
        Parameters:
        request - a request that failed validation
        message - message explaining the validation problem