ldas-tools-framecpp  2.6.2
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
FrameCPP::Common::VerifyException Class Reference

#include <Verify.hh>

Inheritance diagram for FrameCPP::Common::VerifyException:

Public Types

enum  error_type {
  NO_ERROR = 0, CHECKSUM_ERROR, FILE_OPEN_ERROR, UNSUPPORTED_FRAME_SPEC,
  FRAME_SPEC_CONFORMANCE, UNSUPPORTED_CHECKSUM_TYPE, NO_CHECKSUM, INVALID_FRAME_STRUCTURE,
  FILE_TRUNCATION, DATA_INVALID, METADATA_INVALID, DUPLICATE_CHANNEL_NAME,
  MAX_ERROR = DUPLICATE_CHANNEL_NAME
}
 

Public Member Functions

 VerifyException (error_type ErrorCode, const std::string &What="")
 
error_type ErrorCode () const
 
virtual VerifyExceptionClone () const
 

Static Public Member Functions

static std::string StrError (error_type ErrorNum)
 
static std::string StrErrorType (const error_type Error)
 

Protected Member Functions

VerifyExceptionoperator= (const VerifyException &Error)
 
void extendError (const std::string &Message)
 

Friends

class Verify
 

Member Enumeration Documentation

◆ error_type

Enumerator
NO_ERROR 
CHECKSUM_ERROR 
FILE_OPEN_ERROR 
UNSUPPORTED_FRAME_SPEC 
FRAME_SPEC_CONFORMANCE 
UNSUPPORTED_CHECKSUM_TYPE 
NO_CHECKSUM 
INVALID_FRAME_STRUCTURE 
FILE_TRUNCATION 
DATA_INVALID 
METADATA_INVALID 
DUPLICATE_CHANNEL_NAME 
MAX_ERROR 

Constructor & Destructor Documentation

◆ VerifyException()

FrameCPP::Common::VerifyException::VerifyException ( error_type  ErrorCode,
const std::string &  What = "" 
)
inline

Member Function Documentation

◆ Clone()

VerifyException * VerifyException::Clone ( ) const
virtual

◆ ErrorCode()

VerifyException::error_type FrameCPP::Common::VerifyException::ErrorCode ( ) const
inline

◆ extendError()

void VerifyException::extendError ( const std::string &  Message)
protected

◆ operator=()

VerifyException & VerifyException::operator= ( const VerifyException Error)
protected

◆ StrError()

std::string VerifyException::StrError ( Verify::error_type  ErrNum)
static

◆ StrErrorType()

std::string VerifyException::StrErrorType ( const error_type  Error)
static

Friends And Related Function Documentation

◆ Verify

friend class Verify
friend

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