Blob Blame Raw
#pragma once

#ifndef TSTREAMEXCEPTION_INCLUDED
#define TSTREAMEXCEPTION_INCLUDED

#include "texception.h"

#undef DVAPI
#undef DVVAR
#ifdef TSTREAM_EXPORTS
#define DVAPI DV_EXPORT_API
#define DVVAR DV_EXPORT_VAR
#else
#define DVAPI DV_IMPORT_API
#define DVVAR DV_IMPORT_VAR
#endif

//===================================================================

class TIStream;
class TOStream;

//===================================================================

class DVAPI TIStreamException final : public TException {
public:
  TIStreamException(TIStream &is);
  TIStreamException(TIStream &is, const TException &e);
  TIStreamException(TIStream &is, std::wstring message);
  TIStreamException(TIStream &is, std::string message);

  ~TIStreamException();
};

#endif