Exception thrown by Validity::* methods when validation fails

/sprout/Helpers/Slug.php Highlighted file source
Line 17: use Sprout\Exceptions\ValidationException;
Line 84: * @throws ValidationException
Line 89: throw new ValidationException('contains invalid characters. Slugs may only contain a to z (lower-case), 0 to 9 and hyphens (-)');
Line 104: * @throws ValidationException If the slug isn't unique in the table under the specified conditions
Line 124: throw new ValidationException($err);

/sprout/Helpers/Validity.php Highlighted file source
Line 20: use Sprout\Exceptions\ValidationException;
Line 25: * All of its methods should give useful errors by throwing a {@see ValidationException}.
Line 40: * @throws ValidationException If item is too short or too long
Line 46: throw new ValidationException("Shorter than minimum allowed length of {$min} characters");
Line 49: throw new ValidationException("Longer than maximum allowed length of {$max} characters");
Line 61: * @throws ValidationException
Line 68: throw new ValidationException('Invalid email address');
Line 80: * @throws ValidationException
Line 96: throw new ValidationException(
Line 112: * @throws ValidationException
Line 129: throw new ValidationException("Invalid format");
Line 131: throw new ValidationException("Contains invalid characters");
Line 137: throw new ValidationException("Must contain at least {$min_digits} digits");
Line 140: throw new ValidationException("Cannot contain more than 15 digits");
Line 152: * @throws ValidationException
Line 157: throw new ValidationException("Value must be a whole number that is greater than zero");
Line 162: throw new ValidationException("Value must be greater than zero");
Line 178: * @throws ValidationException
Line 184: throw new ValidationException('Non prose characters found');
Line 196: * @throws ValidationException
Line 202: throw new ValidationException('Invalid date format');
Line 206: throw new ValidationException('Year is outside of range of 1900 to 2100');
Line 210: throw new ValidationException('Month is outside of range of 1 to 12');
Line 214: throw new ValidationException('Day is outside of range of 1 to 31');
Line 226: * @throws ValidationException
Line 232: throw new ValidationException('Invalid time format');
Line 236: throw new ValidationException('Hour is outside of range of 0 to 23');
Line 240: throw new ValidationException('Minute is outside of range of 0 to 59');
Line 244: throw new ValidationException('Second is outside of range of 0 to 59');
Line 256: * @throws ValidationException
Line 262: throw new ValidationException('Invalid datedate format');
Line 287: * @throws ValidationException
Line 300: throw new ValidationException($error_msg);
Line 315: * @throws ValidationException If item is too short or too long
Line 321: throw new ValidationException("Invalid value: {$choice}");
Line 334: * @throws ValidationException
Line 346: throw new ValidationException("At least one of these must be provided");
Line 357: * @throws ValidationException
Line 363: throw new ValidationException("Provided values do not match");
Line 376: * @throws ValidationException
Line 382: throw new ValidationException("Provided values must not be the same");
Line 395: * @throws ValidationException
Line 400: throw new ValidationException('Invalid value');
Line 414: * @throws ValidationException
Line 419: throw new ValidationException('Invalid value');
Line 433: * @throws ValidationException
Line 445: throw new ValidationException('Invalid value');
Line 460: * @throws ValidationException
Line 472: throw new ValidationException('Invalid value');
Line 492: throw new ValidationException('Invalid value');
Line 504: * @throws ValidationException
Line 509: throw new ValidationException('Value must be a number');
Line 521: * @throws ValidationException
Line 526: throw new ValidationException('Value must be a "1" or "0"');
Line 540: * @throws ValidationException
Line 547: throw new ValidationException("Value must be no less than {$min} and no greater than {$max}");
Line 565: throw new ValidationException("Invalid value");
Line 595: throw new ValidationException("The start date, {$date_start}, cannot be later than the end date {$date_end}");
Line 602: throw new ValidationException("The start of this date range is outside the minimum of {$min}");
Line 610: throw new ValidationException("The end of this date range is outside the maximum of {$max}");
Line 621: * @throws ValidationException If the value doesn't match the pattern
Line 626: throw new ValidationException('Incorrect format');
Line 635: * @throws ValidationException If the value isn't a valid IPv4 address
Line 640: throw new ValidationException('Invalid IP address');
Line 646: if ($part > 255) throw new ValidationException('Invalid IP address');
Line 655: * @throws ValidationException If the value isn't a valid IPv4 CIDR block
Line 660: throw new ValidationException('Invalid CIDR block');
Line 667: throw new ValidationException('Invalid network mask');
Line 671: throw new ValidationException('Invalid network mask');
Line 680: * @throws ValidationException If the value isn't a valid IPv4 address or CIDR block
A total of 110 lines in 15 files were found