Mercurial > libervia-backend
annotate src/exceptions.py @ 406:b03b38b20c18
plugin XEP-0045: send error on invalid room jid on _join
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 08 Oct 2011 19:04:28 +0200 |
parents | aac82dee6091 |
children |
rev | line source |
---|---|
258
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 #!/usr/bin/python |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 """ |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 SàT Exceptions |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 Copyright (C) 2011 Jérôme Poisson (goffi@goffi.org) |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 This program is free software: you can redistribute it and/or modify |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 the Free Software Foundation, either version 3 of the License, or |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 (at your option) any later version. |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 This program is distributed in the hope that it will be useful, |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 GNU General Public License for more details. |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 along with this program. If not, see <http://www.gnu.org/licenses/>. |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 """ |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 class ProfileUnknownError(Exception): |
aac82dee6091
Added a library for custom SàT Exceptions
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 pass |