PACK Qt Binding  $VERSION$
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
exception.h
Go to the documentation of this file.
1 // Copyright (C) 2009-2011 by Konrad Rosenbaum <konrad@silmor.de>
2 // protected under the GNU LGPL version 3 or at your option any newer.
3 // See COPYING.LGPL file that comes with this distribution.
4 //
5 
6 
7 #ifndef WOLF_EXCEPTION_H
8 #define WOLF_EXCEPTION_H
9 
10 #include <QString>
11 
12 #ifndef WOLF_BASE_EXPORT
13 #define WOLF_BASE_EXPORT Q_DECL_IMPORT
14 #endif
15 
17 {
18  protected:
19  WException(QString e,QString c){err=e;comp=c;}
20  public:
21  QString error()const{return err;}
22  QString component()const{return comp;}
23  private:
24  QString err,comp;
25 };
26 
27 #endif
QString error() const
Definition: exception.h:21
WException(QString e, QString c)
Definition: exception.h:19
Definition: exception.h:16
#define WOLF_BASE_EXPORT
Definition: exception.h:13
QString component() const
Definition: exception.h:22