CedaAssertionException.h

// CedaAssertionException.h
//
// Author David Barrett-Lennard  
// (C)opyright Cedanet Pty Ltd 2017

#pragma once
#ifndef Ceda_cxUtils_CedaAssertionException_H
#define Ceda_cxUtils_CedaAssertionException_H

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

namespace ceda
{

class cxUtils_API CedaAssertionException : public IException
{
public:
    CedaAssertionException(const char* expression, const char* file, int line);
    virtual void Write(xostream& os) const;
private:
    const char* expression_;
    const char* file_;
    int line_;
};

} // namespace ceda

#endif // include guard