Class ConcurrentRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.lang3.concurrent.ConcurrentRuntimeException
- All Implemented Interfaces:
- Serializable
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.
 
- Since:
- 3.0
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCreates a new, uninitialized instance ofConcurrentRuntimeException.ConcurrentRuntimeException(String msg, Throwable cause) Creates a new instance ofConcurrentRuntimeExceptionand initializes it with the given message and cause.Creates a new instance ofConcurrentRuntimeExceptionand initializes it with the given cause.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ConcurrentRuntimeExceptionprotected ConcurrentRuntimeException()Creates a new, uninitialized instance ofConcurrentRuntimeException.
- 
ConcurrentRuntimeExceptionCreates a new instance ofConcurrentRuntimeExceptionand initializes it with the given message and cause.- Parameters:
- msg- the error message
- cause- the cause of this exception
- Throws:
- IllegalArgumentException- if the cause is not a checked exception
 
- 
ConcurrentRuntimeExceptionCreates a new instance ofConcurrentRuntimeExceptionand initializes it with the given cause.- Parameters:
- cause- the cause of this exception
- Throws:
- IllegalArgumentException- if the cause is not a checked exception
 
 
-