Package com.yahoo.search.grouping
Class UnavailableAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.yahoo.processing.IllegalInputException
com.yahoo.search.grouping.UnavailableAttributeException
- All Implemented Interfaces:
Serializable
public class UnavailableAttributeException
extends com.yahoo.processing.IllegalInputException
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 Summary
ConstructorsConstructorDescriptionUnavailableAttributeException(String clusterName, String attributeName) Constructs a new instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the attribute which is referenced but not available.Returns the name of the cluster for which the request is illegal.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnavailableAttributeException
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
Returns the name of the cluster for which the request is illegal.- Returns:
- The cluster name.
-
getAttributeName
Returns the name of the attribute which is referenced but not available.- Returns:
- The attribute name.
-