Class UnavailableAttributeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.yahoo.search.grouping.UnavailableAttributeException
All Implemented Interfaces:
Serializable

public class UnavailableAttributeException extends RuntimeException
This exception is thrown by the GroupingValidator if it a GroupingRequest contains a reference to an unavailable attribute.
Author:
Simon Thoresen Hult
See Also:
  • Constructor Details

    • UnavailableAttributeException

      public UnavailableAttributeException(String clusterName, String attributeName)
      Constructs a new instance of this class.
      Parameters:
      clusterName - The name of the cluster for which the request is illegal.
      attributeName - The name of the attribute which is referenced but not available.
  • Method Details

    • getClusterName

      public String getClusterName()
      Returns the name of the cluster for which the request is illegal.
      Returns:
      The cluster name.
    • getAttributeName

      public String getAttributeName()
      Returns the name of the attribute which is referenced but not available.
      Returns:
      The attribute name.