Error that indicates that the protocol is not supported. More...
Inherits BPrivate::Network::BError.
| Public Member Functions | |
| BUnsupportedProtocol (BString origin, BUrl url, BStringList supportedProtocols) | |
| BUnsupportedProtocol (const char *origin, BUrl url, BStringList supportedProtocols) | |
| Create a new unsupported protocol error. | |
| virtual const char * | Message () const noexcept override | 
| Access the string representation of the message. | |
| const BStringList & | SupportedProtocols () const | 
| A list of protocols that are supported. | |
| const BUrl & | Url () const | 
| The URL that caused the issue. | |
|  Public Member Functions inherited from BPrivate::Network::BError | |
| BError (BError &&error) noexcept | |
| Move constructor. | |
| BError (BString origin) | |
| Constructor that sets the origin. | |
| BError (const BError &error) | |
| Copy constructor. | |
| BError (const char *origin) | |
| Constructor that sets the origin. | |
| virtual | ~BError () noexcept | 
| Standard destructor. | |
| virtual BString | DebugMessage () const | 
| Retrieve a debug message that contains all info in this error. | |
| virtual const char * | Message () const noexcept=0 | 
| Access the string representation of the message. | |
| BError & | operator= (BError &&error) noexcept | 
| Move assignment operator. | |
| BError & | operator= (const BError &error) | 
| Copy assignment operator. | |
| virtual const char * | Origin () const noexcept | 
| Access the string representation of the origin of the error. | |
| size_t | WriteToOutput (BDataIO *output) const | 
| Write the error description to an output. | |
| void | WriteToStream (std::ostream &stream) const | 
| Write the error description to an output stream. | |
Error that indicates that the protocol is not supported.
| BPrivate::Network::BUnsupportedProtocol::BUnsupportedProtocol | ( | const char * | origin, | 
| BUrl | url, | ||
| BStringList | supportedProtocols | ||
| ) | 
Create a new unsupported protocol error.
| origin | A string representing where this error occured. It is advised to initialize it to __PRETTY_FUNCTION__by default. | 
| url | The URL object with the unsupported protocol. | 
| supportedProtocols | A list with the supported protocols. | 
| BPrivate::Network::BUnsupportedProtocol::BUnsupportedProtocol | ( | BString | origin, | 
| BUrl | url, | ||
| BStringList | supportedProtocols | ||
| ) | 
Create a new unsupported protocol error.
| origin | A string representing where this error occured. It is advised to initialize it to __PRETTY_FUNCTION__by default. | 
| url | The URL object with the unsupported protocol. | 
| supportedProtocols | A list with the supported protocols. | 
| 
 | overridevirtualnoexcept | 
Access the string representation of the message.
Implements BPrivate::Network::BError.
| const BStringList & BPrivate::Network::BUnsupportedProtocol::SupportedProtocols | ( | ) | const | 
A list of protocols that are supported.
| const BUrl & BPrivate::Network::BUnsupportedProtocol::Url | ( | ) | const | 
The URL that caused the issue.