1
//////////////////////////////////////////////////////////////////////////
3
// pgScript - PostgreSQL Tools
4
// RCS-ID: $Id: pgsArithmeticException.cpp 7758 2009-03-26 20:49:59Z dpage $
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
6
// This software is released under the BSD Licence
8
//////////////////////////////////////////////////////////////////////////
12
#include "pgscript/exceptions/pgsArithmeticException.h"
14
pgsArithmeticException::pgsArithmeticException(const wxString & left, const wxString & right) :
15
pgsException(), m_left(left), m_right(right)
20
pgsArithmeticException::~pgsArithmeticException()
25
const wxString pgsArithmeticException::message() const
27
return wxString() << PGSOUTEXCEPTION <<
28
wxString::Format(_("Arithmetic Exception - Operation impossible between '%s' and '%s'"),
29
m_left.c_str(), m_right.c_str());