2
The contents of this file are subject to the Initial Developer's Public
3
License Version 1.0 (the "License"); you may not use this file except in
4
compliance with the License. You may obtain a copy of the License here:
5
http://www.flamerobin.org/license.html.
7
Software distributed under the License is distributed on an "AS IS"
8
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
9
License for the specific language governing rights and limitations under
12
The Original Code is FlameRobin (TM).
14
The Initial Developer of the Original Code is Nando Dessena.
16
Portions created by the original developer
17
are Copyright (C) 2004 Nando Dessena.
28
//------------------------------------------------------------------------------
29
#ifndef FR_EXCEPTION_H
30
#define FR_EXCEPTION_H
32
#include "metadataitem.h"
34
class YException: public YxMetadataItem
37
virtual std::string getCreateSqlTemplate() const;
38
virtual const std::string getTypeName() const;
40
std::string getMessage();
42
std::string getAlterSql();
44
void loadProperties(bool force = false);
46
bool propertiesLoadedM;
50
//------------------------------------------------------------------------------
51
#endif // FR_EXCEPTION_H