Silk DI 0.6


se.jbee.inject
Class DIRuntimeException.MoreFrequentExpiryException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by se.jbee.inject.DIRuntimeException
                  extended by se.jbee.inject.DIRuntimeException.MoreFrequentExpiryException
All Implemented Interfaces:
Serializable
Enclosing class:
DIRuntimeException

public static final class DIRuntimeException.MoreFrequentExpiryException
extends DIRuntimeException

It has been tried to inject a shorter living instance into one that will most likely outlive the injected one. This is considered to be unintentional. Use a indirection like a provider or services to resolve the problem.

Author:
Jan Bernitt (jan@jbee.se)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class se.jbee.inject.DIRuntimeException
DIRuntimeException.DependencyCycleException, DIRuntimeException.MoreFrequentExpiryException, DIRuntimeException.NoSuchFunctionException, DIRuntimeException.NoSuchResourceException
 
Constructor Summary
DIRuntimeException.MoreFrequentExpiryException(Injection parent, Injection injection)
           
 
Method Summary
 
Methods inherited from class se.jbee.inject.DIRuntimeException
describe, injectionStack, toString
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DIRuntimeException.MoreFrequentExpiryException

public DIRuntimeException.MoreFrequentExpiryException(Injection parent,
                                                      Injection injection)

Silk DI 0.6