ProteoWizard
Public Member Functions | Private Attributes | List of all members
pwiz::proteome::ReaderFail Class Reference

#include <Reader.hpp>

Inheritance diagram for pwiz::proteome::ReaderFail:

Public Member Functions

 ReaderFail (const std::string &error)
 
virtual const std::string & error () const
 
virtual ~ReaderFail () throw ()
 

Private Attributes

std::string error_
 

Detailed Description

Definition at line 73 of file Reader.hpp.

Constructor & Destructor Documentation

§ ReaderFail()

pwiz::proteome::ReaderFail::ReaderFail ( const std::string &  error)
inline

Definition at line 77 of file Reader.hpp.

78  : std::runtime_error(("[ReaderFail] " + error).c_str()),
79  error_(error)
80  {}
virtual const std::string & error() const
Definition: Reader.hpp:82

§ ~ReaderFail()

virtual pwiz::proteome::ReaderFail::~ReaderFail ( )
throw (
)
inlinevirtual

Definition at line 83 of file Reader.hpp.

83 {}

Member Function Documentation

§ error()

virtual const std::string& pwiz::proteome::ReaderFail::error ( ) const
inlinevirtual

Definition at line 82 of file Reader.hpp.

82 {return error_;}

Member Data Documentation

§ error_

std::string pwiz::proteome::ReaderFail::error_
private

Definition at line 86 of file Reader.hpp.


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