This repository has been archived on 2018-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
sleepy/Sleepy/Exception/NotImplementedException.php

33 lines
733 B
PHP
Raw Normal View History

2014-05-07 14:05:13 -04:00
<?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