Uses of Class
com.kosdev.kos.commons.util.ReasonData
Packages that use ReasonData
-
Uses of ReasonData in com.kosdev.kos.commons.util
Methods in com.kosdev.kos.commons.util that return ReasonDataConstructors in com.kosdev.kos.commons.util with parameters of type ReasonDataModifierConstructorDescriptionReasonException(String reason, ReasonData reasonData) Create an exception with reason code and associated data.ReasonException(String reason, ReasonData reasonData, Throwable causedBy) Create an exception with reason code and associated data. -
Uses of ReasonData in com.kosdev.kos.commons.util.concurrent.future
Methods in com.kosdev.kos.commons.util.concurrent.future that return ReasonDataModifier and TypeMethodDescriptionFutureWork.getReasonData()Returns the reason data if there is any.Methods in com.kosdev.kos.commons.util.concurrent.future with parameters of type ReasonDataModifier and TypeMethodDescriptionvoidFutureWork.abort(String reason, ReasonData reasonData) Aborts the work with the specified reason and optional reason data.voidFutureWork.cancel(String reason, ReasonData reasonData) Cancels the work with the specified reason and optional reason data.voidFutureWork.fail(String reason, ReasonData reasonData) Fails the work with the specified reason and optional reason data.Constructors in com.kosdev.kos.commons.util.concurrent.future with parameters of type ReasonDataModifierConstructorDescriptionFailedFuture(String name, String reason, ReasonData data) Creates a future that will fail with the specified reason and data.