Package studio.mevera.imperat.exception
Class CooldownException
java.lang.Object
java.lang.Throwable
java.lang.Exception
studio.mevera.imperat.exception.ImperatException
studio.mevera.imperat.exception.CooldownException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCooldownException(Duration cooldownDuration, Instant lastTimeExecuted, Context<?> ctx) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class studio.mevera.imperat.exception.ImperatException
getCtxMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CooldownException
-
-
Method Details
-
getCooldownDuration
-
getLastTimeExecuted
-
getRemainingDuration
-