Package org.apache.storm.utils

## Class DisallowedStrategyException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.storm.utils.DisallowedStrategyException

- All Implemented Interfaces:
    `Serializable`

      public class DisallowedStrategyException
      extends RuntimeException

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DisallowedStrategyException​(String attemptedClass, List<String> allowedStrategies)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<String>` | `getAllowedStrategies()` |
    `String` | `getAttemptedClass()` |

    - ### 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

    - #### DisallowedStrategyException

          public DisallowedStrategyException​(String attemptedClass,
                                             List<String> allowedStrategies)

  - ### Method Detail

    - #### getAttemptedClass

          public String getAttemptedClass()

    - #### getAllowedStrategies

          public List<String> getAllowedStrategies()