com.google.inject

Class OutOfScopeException

  • All Implemented Interfaces:
    Serializable


    public final class OutOfScopeException
    extends RuntimeException
    Thrown from Provider.get() when an attempt is made to access a scoped object while the scope in question is not currently active.
    Since:
    2.0
    Author:
    kevinb@google.com (Kevin Bourrillion)
    See Also:
    Serialized Form
    • Constructor Detail

      • OutOfScopeException

        public OutOfScopeException(String message)
      • OutOfScopeException

        public OutOfScopeException(String message,
                                   Throwable cause)
      • OutOfScopeException

        public OutOfScopeException(Throwable cause)

Copyright © 2006–2020 Google, Inc.. All rights reserved.