li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.3.x)
  • lithium
  • net
  • http
  • MediaException

Contents

  • ../

Properties

  • $code

lithium\net\http\MediaException

Extends RuntimeException
class

The MediaException is thrown when a request is made to render content in a format not supported.

Related

  • lithium\net\http\Media

Subclasses

  • lithium\net\http\ClientMediaException

Source

class MediaException extends \RuntimeException {

	protected $code = 406;
}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

It looks like you're
trying to build an
application with a
badass framework
for PHP.

May I suggest:
- Using li3

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.