Class ManagedContainer.Failure

All Implemented Interfaces:
Serializable
Enclosing class:
ManagedContainer

public static final class ManagedContainer.Failure extends IllegalStateException
Safe graph/lifecycle failure without application exception messages or qualifier values.
See Also:
  • Method Details

    • code

      public String code()
      Returns the stable failure category.
      Returns:
      bounded code without payloads
    • diagnostic

      public org.j7m.middleware.application.api.InjectionDiagnostic diagnostic()
      Returns safe structured evidence from the actual failed graph/resolution path. Paths contain at most32 class names and4096 characters; no qualifier/config values or application exception messages are retained. Epoch denotes an unspecified event time.
      Returns:
      immutable redacted diagnostic with the same stable category as code()