public class NotPermittedException extends RuntimeException
ConcurrencyManager determines that a thread is not permitted to continue.
This exception has a sleep-before-retry attribute that is used by the client where this exception bubbles up to. It is a hint to the client that it should wait the given number of milliseconds before it should attempt to retry, if it wants to retry at all.
| Constructor and Description |
|---|
NotPermittedException(long sleepBeforeRetry) |
| Modifier and Type | Method and Description |
|---|---|
long |
getSleepBeforeRetry()
A catcher of this exception should not attempt to retry what it just did to cause this exception until after this
given amount of milliseconds elapses.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic long getSleepBeforeRetry()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.