javax.enterprise.inject
Class IllegalProductException

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.IllegalProductException
All Implemented Interfaces:
java.io.Serializable

public class IllegalProductException
extends InjectionException

Thrown if a producer method returns a null value or a producer field contains a null value, and the scope of the method or field is not @Dependent

See Also:
Serialized Form

Constructor Summary
IllegalProductException()
           
IllegalProductException(java.lang.String message)
           
IllegalProductException(java.lang.String message, java.lang.Throwable cause)
           
IllegalProductException(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

IllegalProductException

public IllegalProductException()

IllegalProductException

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

IllegalProductException

public IllegalProductException(java.lang.String message)

IllegalProductException

public IllegalProductException(java.lang.Throwable cause)


Copyright © 2008-2009. All Rights Reserved.