Class TeamOverloadException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TeamOverloadException
    extends java.lang.Exception

    Indicates the Team is overloaded.

    By convention Team instances should throw this to indicate back pressure, as load on the Team is too high.

    This is similar to RejectedExecutionException.

    Author:
    Daniel Sagenschneider
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • TeamOverloadException

        public TeamOverloadException​(java.lang.String message,
                                     java.lang.Throwable cause)
        Instantiate.
        Parameters:
        message - Message.
        cause - Cause.
      • TeamOverloadException

        public TeamOverloadException​(java.lang.String message)
        Instantiate.
        Parameters:
        message - Message.
      • TeamOverloadException

        public TeamOverloadException​(java.lang.Throwable cause)
        Instantiate.
        Parameters:
        cause - Cause.