Class NoAvailableSessionException

  • All Implemented Interfaces:
    Serializable

    public class NoAvailableSessionException
    extends NoSuchElementException
    The NoAvailableSessionException class defines the exception that a JCR session pooling repository can throw when it is unable to return an available session since its pooled session are already exhausted and it cannot create new session.
    See Also:
    Serialized Form
    • Constructor Detail

      • NoAvailableSessionException

        public NoAvailableSessionException()
        Constructs a new NoAvailableSessionException exception.
      • NoAvailableSessionException

        public NoAvailableSessionException​(String s)
        Constructs a NoAvailableSessionException, saving a reference to the error message string s for later retrieval by the getMessage method.
        Parameters:
        s - the detail message.