class NotImplementedException in RESTful 7.2
Hierarchy
- class \Drupal\restful\Exception\RestfulException extends \Drupal\restful\Exception\Exception- class \Drupal\restful\Exception\NotImplementedException
 
Expanded class hierarchy of NotImplementedException
5 files declare their use of NotImplementedException
- AuthenticatedResource.php in src/Plugin/ resource/ AuthenticatedResource.php 
- Contains \Drupal\restful\Plugin\resource\AuthenticatedResource
- CacheDecoratedDataProviderInterface.php in src/Plugin/ resource/ DataProvider/ CacheDecoratedDataProviderInterface.php 
- Contains Drupal\restful\Plugin\resource\DataProvider\CacheDecoratedDataProviderInterface.
- DataProviderPlug.php in src/Plugin/ resource/ DataProvider/ DataProviderPlug.php 
- Contains \Drupal\restful\Plugin\resource\DataProvider\DataProviderPlug.
- Resource.php in src/Plugin/ resource/ Resource.php 
- Contains \Drupal\restful\Plugin\resource\Resource.
- ResourceInterface.php in src/Plugin/ resource/ ResourceInterface.php 
- Contains \Drupal\restful\Plugin\resource\ResourceInterface.
File
- src/Exception/ NotImplementedException.php, line 10 
- Contains \Drupal\restful\Exception\NotImplementedException.
Namespace
Drupal\restful\ExceptionView source
class NotImplementedException extends RestfulException {
  /**
   * Defines the HTTP error code.
   *
   * @var int
   */
  protected $code = 501;
  /**
   * {@inheritdoc}
   */
  protected $instance = 'help/restful/problem-instances-not-implemented';
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| NotImplementedException:: | protected | property | Defines the HTTP error code. | |
| NotImplementedException:: | protected | property | Defines the instance resource. Overrides RestfulException:: | |
| RestfulException:: | protected | property | Exception description. | 4 | 
| RestfulException:: | protected | property | Array keyed by the field name, and array of error messages as value. | |
| RestfulException:: | protected | property | Array of extra headers to set when throwing an exception. | |
| RestfulException:: | public | function | Add an error per field. | |
| RestfulException:: | final public | function | Gets the description of the exception. | |
| RestfulException:: | public | function | Return an array with all the errors. | |
| RestfulException:: | public | function | Get the associative array of headers. | |
| RestfulException:: | public | function | Get the URL to the error for the particular case. | |
| RestfulException:: | public | function | Return a string to the common problem type. | |
| RestfulException:: | public | function | Set a header. | 
