Enum Class ManagedInjectionException.Reason

java.lang.Object
java.lang.Enum<ManagedInjectionException.Reason>
org.j7m.middleware.application.components.ManagedInjectionException.Reason
All Implemented Interfaces:
Serializable, Comparable<ManagedInjectionException.Reason>, Constable
Enclosing class:
ManagedInjectionException

public static enum ManagedInjectionException.Reason extends Enum<ManagedInjectionException.Reason>
Finite pre-construction failure categories, independent of exception text.
  • Enum Constant Details

    • CLASS_ORIGIN

      public static final ManagedInjectionException.Reason CLASS_ORIGIN
      A class does not belong to the verified application module/artifact.
    • INDEX_PROVIDER_ACCESS

      public static final ManagedInjectionException.Reason INDEX_PROVIDER_ACCESS
      A component index provider cannot be created through its declared module service.
    • SCHEMA_PROVIDER_ACCESS

      public static final ManagedInjectionException.Reason SCHEMA_PROVIDER_ACCESS
      A schema index provider cannot be created through its declared module service.
    • JPMS_ACCESS

      public static final ManagedInjectionException.Reason JPMS_ACCESS
      JPMS prevents access to a declared managed entry.
  • Method Details

    • values

      public static ManagedInjectionException.Reason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ManagedInjectionException.Reason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null