Package com.yahoo.search.grouping
Class UnavailableAttributeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.yahoo.search.grouping.UnavailableAttributeException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnavailableAttributeException extends java.lang.RuntimeException
This exception is thrown by theGroupingValidator
if it aGroupingRequest
contains a reference to an unavailable attribute.- Author:
- Simon Thoresen Hult
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnavailableAttributeException(java.lang.String clusterName, java.lang.String attributeName)
Constructs a new instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAttributeName()
Returns the name of the attribute which is referenced but not available.java.lang.String
getClusterName()
Returns the name of the cluster for which the request is illegal.
-
-
-
Constructor Detail
-
UnavailableAttributeException
public UnavailableAttributeException(java.lang.String clusterName, java.lang.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 Detail
-
getClusterName
public java.lang.String getClusterName()
Returns the name of the cluster for which the request is illegal.- Returns:
- The cluster name.
-
getAttributeName
public java.lang.String getAttributeName()
Returns the name of the attribute which is referenced but not available.- Returns:
- The attribute name.
-
-