eZPublishCommunityProject  2012.12
eZ\Publish\Core\Base\Exceptions\NotFoundException Class Reference

Not Found Exception implementation. More...

+ Inheritance diagram for eZ\Publish\Core\Base\Exceptions\NotFoundException:
+ Collaboration diagram for eZ\Publish\Core\Base\Exceptions\NotFoundException:

Public Member Functions

 __construct ($what, $identifier, Exception $previous=null)
 Generates: Could not find '{$what}' with identifier '{$identifier}'. More...
 

Additional Inherited Members

- Public Attributes inherited from eZ\Publish\Core\Base\Exceptions\Httpable
const BAD_REQUEST = 400
 
const CONFLICT = 409
 
const FORBIDDEN = 403
 
const GONE = 410
 
const INTERNAL_ERROR = 500
 
const METHOD_NOT_ALLOWED = 405
 
const NOT_ACCEPTABLE = 406
 
const NOT_FOUND = 404
 
const NOT_IMPLEMENTED = 501
 
const PAYMENT_REQUIRED = 402
 
const SERVICE_UNAVAILABLE = 503
 
const UNAUTHORIZED = 401
 
const UNSUPPORTED_MEDIA_TYPE = 415
 

Detailed Description

Not Found Exception implementation.

Use: throw new NotFound( 'Content', 42 );

Constructor & Destructor Documentation

eZ\Publish\Core\Base\Exceptions\NotFoundException::__construct (   $what,
  $identifier,
Exception  $previous = null 
)

Generates: Could not find '{$what}' with identifier '{$identifier}'.

Parameters
string$what
mixed$identifier
\Exception | null$previous

The documentation for this class was generated from the following file: