123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class EmptyPkeyValueException extends ServerException
- {
- public function __construct($called_class, $key=null)
- {
-
- parent::__construct(sprintf(_('Empty primary key (%1$s) value was given to query for a "%2$s" object'),
- is_null($key) ? 'not specified' : _ve($key),
- $called_class));
- }
- }
|