|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.apache.commons.lang3.concurrent.ConcurrentException
public class ConcurrentException
An exception class used for reporting error conditions related to accessing data of background tasks.
The purpose of this exception class is analogous to the default JDK exception
class ExecutionException
, i.e. it wraps an
exception that occurred during the execution of a task. However, in contrast
to ExecutionException
, it wraps only checked exceptions. Runtime
exceptions are thrown directly.
Constructor Summary | |
---|---|
protected |
ConcurrentException()
Creates a new, uninitialized instance of ConcurrentException . |
|
ConcurrentException(String msg,
Throwable cause)
Creates a new instance of ConcurrentException and initializes it
with the given message and cause. |
|
ConcurrentException(Throwable cause)
Creates a new instance of ConcurrentException and initializes it
with the given cause. |
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 |
---|
protected ConcurrentException()
ConcurrentException
.
public ConcurrentException(Throwable cause)
ConcurrentException
and initializes it
with the given cause.
cause
- the cause of this exception
IllegalArgumentException
- if the cause is not a checked exceptionpublic ConcurrentException(String msg, Throwable cause)
ConcurrentException
and initializes it
with the given message and cause.
msg
- the error messagecause
- the cause of this exception
IllegalArgumentException
- if the cause is not a checked exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |