You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
517 B
29 lines
517 B
10 months ago
|
#pragma once
|
||
|
|
||
|
|
||
|
#include <exception>
|
||
|
#include "SevenString.h"
|
||
|
#include <windows.h>
|
||
|
|
||
|
namespace SevenZip
|
||
|
{
|
||
|
TString StrFmt( const TCHAR* format, ... );
|
||
|
TString GetWinErrMsg( const TString& contextMessage, DWORD lastError );
|
||
|
TString GetCOMErrMsg( const TString& contextMessage, HRESULT lastError );
|
||
|
|
||
|
class SevenZipException
|
||
|
{
|
||
|
protected:
|
||
|
|
||
|
TString m_message;
|
||
|
|
||
|
public:
|
||
|
|
||
|
SevenZipException();
|
||
|
SevenZipException( const TString& message );
|
||
|
virtual ~SevenZipException();
|
||
|
|
||
|
const TString& GetMessage() const;
|
||
|
};
|
||
|
}
|