Class MailWaitException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class MailWaitException
    extends MailException
                        
    Since:

    2023-01-03

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MailWaitException(long epoch, boolean host, boolean stop, Throwable cause)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      long getWaitEpoch() Epoch mills to wait
      boolean isHostLevel() Whether it is a host-level wait
      boolean isStopRetry() Whether to stop sending than to wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class org.springframework.core.NestedRuntimeException

        contains, getMostSpecificCause, getRootCause
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MailWaitException

        MailWaitException(long epoch, boolean host, boolean stop, Throwable cause)
    • Method Detail

      • isHostLevel

         boolean isHostLevel()

        Whether it is a host-level wait

      • isStopRetry

         boolean isStopRetry()

        Whether to stop sending than to wait