SystemException.h

// SystemException.h
//
// Author David Barrett-Lennard
// (C)opyright Cedanet Pty Ltd 2008

#pragma once
#ifndef Ceda_cxUtils_SystemException_H
#define Ceda_cxUtils_SystemException_H

#include "cxUtils.h"
#include "IException.h"

namespace ceda
{

///////////////////////////////////////////////////////////////////////////////////////////////////
// SystemException

// This class can contain conditional compilation for cross-platform development
// only the contract must not change.
struct cxUtils_API SystemException : public IException
{
    SystemException();
    SystemException(int errorCode);

    // Implementation of IException
    void Write(xostream& os) const;

    int m_errorCode;
};

} // namespace ceda


#endif // include guard