HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler Class Reference

#include <ErrorHandler.h>

Classes

class  Context
 

Public Types

enum  Policy { kQuietNoopPolicy, kNoisyNoopPolicy, kThrowPolicy }
 
enum  UnknownExceptionFlag { kUnknownException }
 

Public Member Functions

 ErrorHandler ()
 
 ErrorHandler (Policy iPolicy)
 
void operator() (std::exception &iExc, const std::string &iCtx="")
 
void operator() (const std::string &iErrMsg, const std::string &iCtx="")
 
void operator() (UnknownExceptionFlag iUef, const std::string &iCtx="")
 
Policy getPolicy () const
 
void setPolicy (Policy iPolicy)
 
const std::string getErrorLog () const
 
bool valid () const
 
void clear ()
 

Detailed Description

Definition at line 48 of file ErrorHandler.h.

Member Enumeration Documentation

Enumerator
kQuietNoopPolicy 
kNoisyNoopPolicy 
kThrowPolicy 

Definition at line 51 of file ErrorHandler.h.

Enumerator
kUnknownException 

Definition at line 58 of file ErrorHandler.h.

Constructor & Destructor Documentation

Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::ErrorHandler ( )
inline

Definition at line 63 of file ErrorHandler.h.

Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::ErrorHandler ( Policy  iPolicy)
inline

Definition at line 67 of file ErrorHandler.h.

Member Function Documentation

void Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::clear ( )
inline

Definition at line 90 of file ErrorHandler.h.

const std::string Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::getErrorLog ( ) const
inline

Definition at line 86 of file ErrorHandler.h.

Policy Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::getPolicy ( ) const
inline

Definition at line 83 of file ErrorHandler.h.

void Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::operator() ( std::exception &  iExc,
const std::string iCtx = "" 
)

Default copy constructor Default assignment operator

void Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::operator() ( const std::string iErrMsg,
const std::string iCtx = "" 
)
void Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::operator() ( UnknownExceptionFlag  iUef,
const std::string iCtx = "" 
)
void Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::setPolicy ( Policy  iPolicy)
inline

Definition at line 84 of file ErrorHandler.h.

bool Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::valid ( ) const
inline

Definition at line 88 of file ErrorHandler.h.


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