org.hippoecm.hst.core.jcr.pool
Class NoAvailableSessionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.util.NoSuchElementException
                  extended by org.hippoecm.hst.core.jcr.pool.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 Summary
NoAvailableSessionException()
          Constructs a new NoAvailableSessionException exception.
NoAvailableSessionException(String s)
          Constructs a NoAvailableSessionException, saving a reference to the error message string s for later retrieval by the getMessage method.
 
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

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.


Copyright © 2008-2012 Hippo. All Rights Reserved.