class AppErrorClient : public ClassName |
{ |
public : |
void onInvalidHandle( UInt64 handle, const EmaString& text ); |
void onInaccessibleLogFile( const EmaString& filename, const EmaString& text ); |
void onMemoryExhaustion( const EmaString& text); |
void onInvalidUsage( const EmaString& text, Int32 errorCode ); |
void onSystemError( Int64 code, void* ptr, const EmaString& text ); |
void onJsonConverter( const EmaString& text, Int32 errorCode, const ConsumerSessionInfo& |
sessionInfo ); |
}; |
void AppErrorclient::onInvalidHandle( UInt64 handle, const EmaString& text ) |
{ |
cout << "Handle = " << handle << endl << ", text = " << text <<endl; |
} |