PHP Класс Exceptions\Data\ValidationException

Note that integrity tests should be one being thrown when the validation goes further than domain or business validation. If the references between objects and uniqueness or constraints of data fails on storage, it should be an IntegrityException that is thrown back.
Автор: Mathieu Dumoulin aka CrazyCodr ([email protected])
Наследование: extends DataException, implements Exceptions\Tag\InvalidDataException
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $message = 'Provided data does not conform to business model or basic domain validation rules', $code, $previous = null )

Описание методов

__construct() публичный Метод

public __construct ( $message = 'Provided data does not conform to business model or basic domain validation rules', $code, $previous = null )