javax.enterprise.inject
Class UnsatisfiedResolutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.enterprise.inject.InjectionException
                  extended by javax.enterprise.inject.ResolutionException
                      extended by javax.enterprise.inject.UnsatisfiedResolutionException
All Implemented Interfaces:
java.io.Serializable

public class UnsatisfiedResolutionException
extends ResolutionException

When no matching bean can be found for an injection point or a BeanManager.getReference, the BeanManager BeanManager will throw this exception. This exception may occur when no beans are registered, or are registered with a different @BindingType than expected.


See Also:
Serialized Form

Constructor Summary
UnsatisfiedResolutionException()
           
UnsatisfiedResolutionException(java.lang.String message)
           
UnsatisfiedResolutionException(java.lang.String message, java.lang.Throwable cause)
           
UnsatisfiedResolutionException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsatisfiedResolutionException

public UnsatisfiedResolutionException()

UnsatisfiedResolutionException

public UnsatisfiedResolutionException(java.lang.String message)

UnsatisfiedResolutionException

public UnsatisfiedResolutionException(java.lang.Throwable cause)

UnsatisfiedResolutionException

public UnsatisfiedResolutionException(java.lang.String message,
                                      java.lang.Throwable cause)