Class TeamOverloadException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.officefloor.frame.api.team.TeamOverloadException
All Implemented Interfaces:
Serializable

public class TeamOverloadException extends 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:
  • Constructor Details

    • TeamOverloadException

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

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

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