Class ScopeNotActiveException

All Implemented Interfaces:
Serializable

public class ScopeNotActiveException extends ServiceRegistryException
An attempt was done to get a service instance from a scope that is not active.
See Also:
  • Constructor Details

    • ScopeNotActiveException

      public ScopeNotActiveException(String msg, TypeName scope)
      Create a new exception with a description and scope this exception is created for.
      Parameters:
      msg - descriptive message
      scope - scope that failed to be found
  • Method Details

    • scope

      public TypeName scope()
      Scope that was not active.
      Returns:
      scope