Package org.hippoecm.hst.core.jcr.pool
Class NoAvailableSessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.util.NoSuchElementException
-
- org.hippoecm.hst.core.jcr.pool.NoAvailableSessionException
-
- All Implemented Interfaces:
Serializable
public class NoAvailableSessionException extends NoSuchElementException
TheNoAvailableSessionException
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
Constructors Constructor Description NoAvailableSessionException()
Constructs a new NoAvailableSessionException exception.NoAvailableSessionException(String s)
Constructs aNoAvailableSessionException
, 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoAvailableSessionException
public NoAvailableSessionException()
Constructs a new NoAvailableSessionException exception.
-
NoAvailableSessionException
public NoAvailableSessionException(String s)
Constructs aNoAvailableSessionException
, saving a reference to the error message string s for later retrieval by the getMessage method.- Parameters:
s
- the detail message.
-
-