xref: /trunk/main/svtools/inc/svtools/soerr.hxx (revision 01aa44aa)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef _SOERR_HXX
24 #define _SOERR_HXX
25 
26 #include <tools/errcode.hxx>
27 
28 // Fehler Codes
29 #define RID_SO_ERROR_HANDLER	32000
30 
31 #define SO_ERR() (ERRCODE_AREA_SO | ERRCODE_CLASS_SO)
32 #define SO_WRN() (ERRCODE_AREA_SO | ERRCODE_CLASS_SO | ERRCODE_WARNING_MASK)
33 
34 #define ERRCODE_SO_GENERALERROR 			(SO_ERR() | 1)
35 #define ERRCODE_SO_CANT_BINDTOSOURCE    	(SO_ERR() | 2)
36 #define ERRCODE_SO_NOCACHE_UPDATED			(SO_ERR() | 3)
37 #define ERRCODE_SO_SOMECACHES_NOTUPDATED	(SO_WRN() | 4)
38 #define ERRCODE_SO_MK_UNAVAILABLE			(SO_ERR() | 5)
39 #define ERRCODE_SO_E_CLASSDIFF				(SO_ERR() | 6)
40 #define ERRCODE_SO_MK_NO_OBJECT				(SO_ERR() | 7)
41 #define ERRCODE_SO_MK_EXCEEDED_DEADLINE		(SO_ERR() | 8)
42 #define ERRCODE_SO_MK_CONNECT_MANUALLY   	(SO_ERR() | 9)
43 #define ERRCODE_SO_MK_INTERMEDIATE_INTERFACE_NOT_SUPPORTED	(SO_ERR() | 10)
44 #define ERRCODE_SO_NO_INTERFACE				(SO_ERR() | 11)
45 #define ERRCODE_SO_OUT_OF_MEMORY			(SO_ERR() | 12)
46 #define ERRCODE_SO_MK_SYNTAX				(SO_ERR() | 13)
47 #define ERRCODE_SO_MK_REDUCED_TO_SELF		(SO_WRN() | 14)
48 #define ERRCODE_SO_MK_NO_INVERSE            (SO_ERR() | 15)
49 #define ERRCODE_SO_MK_NO_PREFIX				(SO_ERR() | 16)
50 #define ERRCODE_SO_MK_HIM					(SO_WRN() | 17)
51 #define ERRCODE_SO_MK_US					(SO_WRN() | 18)
52 #define ERRCODE_SO_MK_ME					(SO_WRN() | 19)
53 #define ERRCODE_SO_MK_NOT_BINDABLE			(SO_ERR() | 20)
54 #define ERRCODE_SO_NOT_IMPLEMENTED			(SO_ERR() | 21)
55 #define ERRCODE_SO_MK_NO_STORAGE			(SO_ERR() | 22)
56 #define ERRCODE_SO_FALSE					(SO_WRN() | 23)
57 #define ERRCODE_SO_MK_NEED_GENERIC  		(SO_ERR() | 24)
58 #define ERRCODE_SO_PENDING			 		(SO_ERR() | 25)
59 #define ERRCODE_SO_NOT_INPLACEACTIVE		(SO_ERR() | 26)
60 #define ERRCODE_SO_LINDEX					(SO_ERR() | 27)
61 #define ERRCODE_SO_CANNOT_DOVERB_NOW		(SO_WRN() | 28)
62 #define ERRCODE_SO_OLEOBJ_INVALIDHWND		(SO_WRN() | 29)
63 #define ERRCODE_SO_NOVERBS					(SO_ERR() | 30)
64 #define ERRCODE_SO_INVALIDVERB				(SO_WRN() | 31)
65 #define ERRCODE_SO_MK_CONNECT				(SO_ERR() | 32)
66 #define ERRCODE_SO_NOTIMPL					(SO_ERR() | 33)
67 #define ERRCODE_SO_MK_CANTOPENFILE          (SO_ERR() | 34)
68 
69 // Fehler Contexte
70 #define RID_SO_ERRCTX			32001
71 
72 #define ERRCTX_SO_DOVERB		1
73 
74 
75 
76 #endif
77 
78