Class ContainerNotReadyException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ContainerNotReadyException
    extends java.lang.RuntimeException
    This exception is used to signal that no Container is ready to serve Requests. An instance of this class will be thrown by the CurrentContainer.newReference(URI) method if it is called before a Container has been activated, or after a null argument has been passed to ContainerActivator.activateContainer(ContainerBuilder).
    Author:
    Simon Thoresen Hult
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ContainerNotReadyException()
      Constructs a new instance of this class with a detail message.
    • 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

      • ContainerNotReadyException

        public ContainerNotReadyException()
        Constructs a new instance of this class with a detail message.