public class ConcurrentException
extends java.lang.Exception
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 and Description |
---|
ConcurrentException(java.lang.String msg,
java.lang.Throwable cause)
Creates a new instance of
ConcurrentException and initializes it
with the given message and cause. |
ConcurrentException(java.lang.Throwable cause)
Creates a new instance of
ConcurrentException and initializes it
with the given cause. |
public ConcurrentException(java.lang.Throwable cause)
ConcurrentException
and initializes it
with the given cause.cause
- the cause of this exceptionjava.lang.IllegalArgumentException
- if the cause is not a checked exceptionpublic ConcurrentException(java.lang.String msg, java.lang.Throwable cause)
ConcurrentException
and initializes it
with the given message and cause.msg
- the error messagecause
- the cause of this exceptionjava.lang.IllegalArgumentException
- if the cause is not a checked exception"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"