33 lines
733 B
PHP
Executable File
33 lines
733 B
PHP
Executable File
<?php
|
|
/**
|
|
* Sleepy - a REST framework
|
|
*
|
|
*
|
|
* A PHP Rest Framework valuing convention over configuration,
|
|
* but aiming to be as flexible as possible
|
|
*
|
|
* @author Timothy J. Warren
|
|
* @package Sleepy/exceptions
|
|
*/
|
|
|
|
namespace Sleepy\Exception;
|
|
|
|
/**
|
|
* Exception for enforcing properties that need to be defined,
|
|
* or covering methods that are not yet implemented.
|
|
*/
|
|
class NotImplementedException extends \LogicException {
|
|
|
|
/**
|
|
* Have a default message for the exception
|
|
*
|
|
* @param string $message - The exception message
|
|
*/
|
|
public function __construct($message = "Hmm...you stumbled onto something that is not implemented.")
|
|
{
|
|
parent::__construct($message);
|
|
}
|
|
|
|
};
|
|
|
|
// End of exceptions/NotImplementedException.php
|