Package net.officefloor.frame.api.team
Class TeamOverloadException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.officefloor.frame.api.team.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 theTeam
is too high.This is similar to
RejectedExecutionException
.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TeamOverloadException(java.lang.String message)
Instantiate.TeamOverloadException(java.lang.String message, java.lang.Throwable cause)
Instantiate.TeamOverloadException(java.lang.Throwable cause)
Instantiate.
-
-
-
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.
-
-