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:
Serializable

public class IllegalProductException
extends InjectionException

If return object of the producer method is null and its type is primitive type then throws this exception.

Version:
$Rev: 906902 $ $Date: 2010-02-05 12:23:22 +0100 (Fri, 05 Feb 2010) $
See Also:
Serialized Form

Constructor Summary
IllegalProductException()
           
IllegalProductException(String message)
           
IllegalProductException(String message, Throwable e)
           
IllegalProductException(Throwable e)
           
 
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(String message)

IllegalProductException

public IllegalProductException(Throwable e)

IllegalProductException

public IllegalProductException(String message,
                               Throwable e)


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.