first import
[projectpier.git] / application / models / errors / OwnerCompanyDnxError.class.php
blobbc09986d0ef48bd5a57c3fb2f40abc13a5fe3fca
1 <?php
3 /**
4 * This error is throw when system fails to load owner company
6 * @version 1.0
7 * @http://www.projectpier.org/
8 */
9 class OwnerCompanyDnxError extends Error {
11 /**
12 * Construct the OwnerCompanyDnxError
14 * @param string $message
15 * @return OwnerCompanyDnxError
17 function __construct($message = null) {
18 if(is_null($message)) $message = 'Owner company is not defined';
19 parent::__construct($message);
20 } // __construct
22 } // OwnerCompanyDnxError