Package uk.ac.ebi.utils.exceptions
Class NotReadyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
uk.ac.ebi.utils.exceptions.NotReadyException
- All Implemented Interfaces:
Serializable
To report that a component or method cannot be used at moment,
since it has to complete some operation and it's not ready yet. In particular, this can be useful to manage
asynchronous initialisation. When an invoker receives this exception, it should expect that the component
becomes ready later on.
- Author:
- brandizi
- Date:
- 25 Jan 2021
- See Also:
-
Constructor Summary
ConstructorDescriptionNotReadyException
(String message) NotReadyException
(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NotReadyException
-
NotReadyException
-