public class ConcurrentRuntimeException
extends java.lang.RuntimeException
An exception class used for reporting runtime error conditions related to accessing data of background tasks.
This class is an analogue of the ConcurrentException
exception class.
However, it is a runtime exception and thus does not need explicit catch
clauses. Some methods of ConcurrentUtils
throw ConcurrentRuntimeException
exceptions rather than
ConcurrentException
exceptions. They can be used by client code that
does not want to be bothered with checked exceptions.
Constructor and Description |
---|
ConcurrentRuntimeException(java.lang.String msg,
java.lang.Throwable cause)
Creates a new instance of
ConcurrentRuntimeException and
initializes it with the given message and cause. |
ConcurrentRuntimeException(java.lang.Throwable cause)
Creates a new instance of
ConcurrentRuntimeException and
initializes it with the given cause. |
public ConcurrentRuntimeException(java.lang.Throwable cause)
ConcurrentRuntimeException
and
initializes it with the given cause.cause
- the cause of this exceptionjava.lang.IllegalArgumentException
- if the cause is not a checked exceptionpublic ConcurrentRuntimeException(java.lang.String msg, java.lang.Throwable cause)
ConcurrentRuntimeException
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 exceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved