You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*TooLowInPollsException is an exception that's thrown during a debate’s constructor if a one or more of the debate’s candidate has less than 3% of the total money currently in play
*(total of all money from all candidates)UNLESS all of the debate’s candidates are from the same political party
*
* Exception is also thrown thrown during a PACFundraiser’s constructor if the PACFundraiser’s candidate has less than 1% of the total money currently in play
*/
publicclassTooLowInPollsExceptionextendsException
{
/**
*getMessage() method has a string that's returned when TooLowInPollsException is trigged
* @return the string to containing the error that occurred
*/
publicStringgetMessage()
{
return"One or more Candidates are too low in the polls (funds too low) to complete this action.";