javax.enterprise.inject

## Class IllegalProductException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.enterprise.inject.InjectionException
        - - javax.enterprise.inject.IllegalProductException

- All Implemented Interfaces:
    Serializable

      public class IllegalProductException
      extends InjectionException

  Indicates that a producer method returned a null value or a producer field contained a null value, and the scope of the producer method or field was not `Dependent`.

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IllegalProductException()`
    `IllegalProductException(String message)`
    `IllegalProductException(String message, Throwable cause)`
    `IllegalProductException(Throwable cause)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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,
                                 Throwable cause)

    - #### IllegalProductException

          public IllegalProductException(String message)

    - #### IllegalProductException

          public IllegalProductException(Throwable cause)

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.