21 lines
294 B
C++
21 lines
294 B
C++
#pragma once
|
|
|
|
#include "PlotWindow.hpp"
|
|
|
|
class PlotWindowException :
|
|
public std::exception
|
|
{
|
|
public:
|
|
PlotWindowException(const char* message, PlotWindow* src) :
|
|
std::exception(message), src(src)
|
|
{
|
|
}
|
|
|
|
PlotWindow* where() const noexcept
|
|
{
|
|
return src;
|
|
}
|
|
|
|
protected:
|
|
PlotWindow* src;
|
|
}; |