Class MissingDependencyException

All Implemented Interfaces:
Serializable

public class MissingDependencyException extends DependencyException
Thrown when a required dependency cannot be resolved.

This typically occurs when:

  • An interface or abstract class has no registered binding
  • A required type has not been registered in the container
  • A dependency is missing from the dependency graph
See Also:
  • Constructor Details

    • MissingDependencyException

      public MissingDependencyException(@NotNull @NotNull Class<?> type)
      Creates a new missing dependency exception.
      Parameters:
      type - The type that could not be resolved
    • MissingDependencyException

      public MissingDependencyException(@NotNull @NotNull String message)
      Creates a new missing dependency exception with a custom message.
      Parameters:
      message - The error message