Enum FeatureError.Cause

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      invalidConfiguration
      The feature failed because it is mis-configured and cannot recover.
      invalidSessionState
      The feature failed because values in session state required by the feature are not set.
      invalidSubscriber
      The feature failed because it cannot run for the subscriber of the current session.
      missingFeature
      The feature failed because a feature of that name did not exist
      timedOut
      The feature timed out during execution
      uncheckedException
      The feature failed because and unchecked unchecked exception was thrown by the feature.
      unclassified
      The feature failed for an unclassified reason.
      unsupportedProtocol
      The feature failed because it has been run on a protocol it does not support.
      unsupportedTriggerEvent
      The Feature failed because it cannot process the trigger object/event it received.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FeatureError.Cause valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FeatureError.Cause[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • invalidConfiguration

        public static final FeatureError.Cause invalidConfiguration
        The feature failed because it is mis-configured and cannot recover.
      • invalidSessionState

        public static final FeatureError.Cause invalidSessionState
        The feature failed because values in session state required by the feature are not set.
      • invalidSubscriber

        public static final FeatureError.Cause invalidSubscriber
        The feature failed because it cannot run for the subscriber of the current session.
      • timedOut

        public static final FeatureError.Cause timedOut
        The feature timed out during execution
      • unsupportedTriggerEvent

        public static final FeatureError.Cause unsupportedTriggerEvent
        The Feature failed because it cannot process the trigger object/event it received.
      • unsupportedProtocol

        public static final FeatureError.Cause unsupportedProtocol
        The feature failed because it has been run on a protocol it does not support.
      • unclassified

        public static final FeatureError.Cause unclassified
        The feature failed for an unclassified reason.
      • uncheckedException

        public static final FeatureError.Cause uncheckedException
        The feature failed because and unchecked unchecked exception was thrown by the feature.
      • missingFeature

        public static final FeatureError.Cause missingFeature
        The feature failed because a feature of that name did not exist
    • Method Detail

      • values

        public static FeatureError.Cause[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FeatureError.Cause c : FeatureError.Cause.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FeatureError.Cause valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null