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:
Serializable
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 Summary
ConstructorsConstructorDescriptionTeamOverloadException(String message) Instantiate.TeamOverloadException(String message, Throwable cause) Instantiate.TeamOverloadException(Throwable cause) Instantiate. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TeamOverloadException
Instantiate.- Parameters:
message- Message.cause- Cause.
-
TeamOverloadException
Instantiate.- Parameters:
message- Message.
-
TeamOverloadException
Instantiate.- Parameters:
cause- Cause.
-