Class UnavailableAttributeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnavailableAttributeException
    extends java.lang.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:
    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.
      • 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

      • 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.