pianod2
multisource multiuser scriptable networked music player
Public Member Functions | List of all members
Parsnip::DataFormatError Class Reference

DataFormatError represents a syntax error in a datastream. More...

#include <parsnip.h>

Inheritance diagram for Parsnip::DataFormatError:
Inheritance graph
[legend]
Collaboration diagram for Parsnip::DataFormatError:
Collaboration graph
[legend]

Public Member Functions

 DataFormatError (const std::string &detail)
 
 DataFormatError (const InputStream &loc, const std::string &detail)
 
- Public Member Functions inherited from Parsnip::Exception
virtual const char * what () const noexcept override
 
const char * where () const noexcept
 Retrieve the exception location information. More...
 
void addBacktraceLocation (const std::string &)
 Insert a new portion of the exception location at the front. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Parsnip::Exception
 Exception (const std::string &why)
 Construct an exception. More...
 
 Exception (const std::string &why, const std::string &detail)
 Construct an exception. More...
 
- Protected Attributes inherited from Parsnip::Exception
std::string reason
 Storage for the exception explanation. More...
 

Detailed Description

DataFormatError represents a syntax error in a datastream.

Constructor & Destructor Documentation

◆ DataFormatError() [1/2]

Parsnip::DataFormatError::DataFormatError ( const std::string &  detail)
inline

◆ DataFormatError() [2/2]

Parsnip::DataFormatError::DataFormatError ( const InputStream loc,
const std::string &  detail 
)

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