openvrml::bad_media_type Class Reference

Thrown when an unexpected media type is received. More...

#include <openvrml/bad_url.h>

Inheritance diagram for openvrml::bad_media_type:

Public Member Functions

 bad_media_type (const std::string &received_type) throw ()
 Construct. More...
 
virtual ~bad_media_type () throw ()
 Destroy. More...
 
- Public Member Functions inherited from openvrml::bad_url
 bad_url (const std::string &message)
 Construct. More...
 
virtual ~bad_url () throw ()
 Destroy. More...
 

Detailed Description

Thrown when an unexpected media type is received.

Constructor & Destructor Documentation

openvrml::bad_media_type::bad_media_type ( const std::string &  received_type)
throw (
)
explicit

Construct.

Parameters
[in]received_typethe media type that was unexpectedly received.
openvrml::bad_media_type::~bad_media_type ( )
throw (
)
virtual

Destroy.