javax.enterprise.context

## Class ContextNotActiveException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - javax.enterprise.context.ContextException
        - - javax.enterprise.context.ContextNotActiveException

- All Implemented Interfaces:
    Serializable

      public class ContextNotActiveException
      extends ContextException

  Indicates that a context is not active.

  Author:
    Pete Muir, Shane Bryzak, Gavin King
  See Also:
    `Context`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ContextNotActiveException()`
    `ContextNotActiveException(String message)`
    `ContextNotActiveException(String message, Throwable cause)`
    `ContextNotActiveException(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

    - #### ContextNotActiveException

          public ContextNotActiveException()

    - #### ContextNotActiveException

          public ContextNotActiveException(String message)

    - #### ContextNotActiveException

          public ContextNotActiveException(Throwable cause)

    - #### ContextNotActiveException

          public ContextNotActiveException(String message,
                                   Throwable cause)

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