include/relpipe/xmlwriter/RelpipeXMLWriterException.h
author František Kučera <franta-hg@frantovo.cz>
Mon, 08 Apr 2019 13:37:14 +0200
branchv_0
changeset 8 60183af4604e
parent 1 7d3081e51970
child 11 56c84049698d
permissions -rw-r--r--
Added tag v0.11 for changeset 5201d93f8bdd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
/**
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
 * Relational pipes
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
 * Copyright © 2018 František Kučera (Frantovo.cz, GlobalCode.info)
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
 *
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
 * This program is free software: you can redistribute it and/or modify
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     6
 * it under the terms of the GNU General Public License as published by
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     7
 * the Free Software Foundation, either version 3 of the License, or
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     8
 * (at your option) any later version.
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     9
 *
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    10
 * This program is distributed in the hope that it will be useful,
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    13
 * GNU General Public License for more details.
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    14
 *
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    16
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    17
 */
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    18
#pragma once
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    19
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    20
#include <string>
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    21
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    22
using namespace std;
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    23
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    24
namespace relpipe {
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    25
namespace xmlwriter {
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    26
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    27
class RelpipeXMLWriterException {
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    28
private:
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    29
	wstring message;
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    30
public:
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    31
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    32
	RelpipeXMLWriterException(wstring message) : message(message) {
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    33
	}
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    34
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    35
	wstring getMessge() {
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    36
		return message;
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    37
	}
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    38
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    39
};
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    40
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    41
}
7d3081e51970 class skeleton
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
    42
}