axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r292895 - /webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_errno.h
Date Sat, 01 Oct 2005 01:54:10 GMT
Author: samisa
Date: Fri Sep 30 18:54:01 2005
New Revision: 292895

URL: http://svn.apache.org/viewcvs?rev=292895&view=rev
Log:
Added the header for Guththila errors

Added:
    webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_errno.h

Added: webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_errno.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_errno.h?rev=292895&view=auto
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_errno.h (added)
+++ webservices/axis2/trunk/c/modules/xml/guththila/src/guththila_errno.h Fri Sep 30 18:54:01
2005
@@ -0,0 +1,66 @@
+/*
+ *   Copyright 2004,2005 The Apache Software Foundation.
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+
+#ifndef GUTHTHILA_ERRNO_H
+#define GUTHTHILA_ERRNO_H
+
+/**
+ * @file guththila_errno.h
+ * @brief Guththila Error Codes
+ */
+
+/**
+ * GUTHTHILA_START_ERROR is where the Guththila specific error values start.
+ */
+
+#define GUTHTHILA_START_ERROR    20000
+
+#define GUTHTHILA_ERROR_SPACE    50000
+
+#define GUTHTHILA_START_STATUS         GUTHTHILA_START_ERROR + GUTHTHILA_ERROR_SPACE
+
+/*
+ * Error Codes
+ */
+#define GUTHTHILA_STREAM_WRITER_ERROR_NOT_IN_START_ELEMENT        (GUTHTHILA_START_ERROR
+ 1)
+#define GUTHTHILA_STREAM_WRITER_ERROR_WRITING_TO_STREAM        (GUTHTHILA_START_ERROR + 2)
+#define GUTHTHILA_STREAM_WRITER_ERROR_STREAM_STRUCT_NULL        (GUTHTHILA_START_ERROR +
3)
+#define GUTHTHILA_STREAM_WRITER_ERROR_LOCAL_NAME_NULL        (GUTHTHILA_START_ERROR + 4)
+#define GUTHTHILA_STREAM_WRITER_ERROR_NAMESPACE_NULL        (GUTHTHILA_START_ERROR + 5)
+#define GUTHTHILA_STREAM_WRITER_ERROR_PREFIX_NULL        (GUTHTHILA_START_ERROR + 6)
+#define GUTHTHILA_STREAM_WRITER_ERROR_NAMESPACE_NOT_DECLARED        (GUTHTHILA_START_ERROR
+ 7)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ELEMENT_STACK_EMPTY        (GUTHTHILA_START_ERROR +
8)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_STATE        (GUTHTHILA_START_ERROR + 9)
+#define GUTHTHILA_STREAM_WRITER_ERROR_COMMENT_NULL        (GUTHTHILA_START_ERROR + 10)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_COMMENT        (GUTHTHILA_START_ERROR + 11)
+#define GUTHTHILA_STREAM_WRITER_ERROR_PROCESSING_INSTRUCTION_TARGET_NULL        (GUTHTHILA_START_ERROR
+ 12)
+#define GUTHTHILA_STREAM_WRITER_ERROR_CDATA_NULL        (GUTHTHILA_START_ERROR + 13)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_CDATA        (GUTHTHILA_START_ERROR + 14)
+#define GUTHTHILA_STREAM_WRITER_ERROR_DTD_NULL        (GUTHTHILA_START_ERROR + 15)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ENTITY_REF_NULL        (GUTHTHILA_START_ERROR + 16)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_XML_VERSION        (GUTHTHILA_START_ERROR +
17)
+#define GUTHTHILA_STREAM_WRITER_ERROR_TEXT_NULL        (GUTHTHILA_START_ERROR + 18)
+#define GUTHTHILA_STREAM_WRITER_ERROR_ILLEGAL_PREFIX        (GUTHTHILA_START_ERROR + 19)
+#define GUTHTHILA_STREAM_WRITER_ERROR_OUT_OF_MEMORY        (GUTHTHILA_START_ERROR + 20)
+
+/*
+ * Status Codes
+ */
+#define GUTHTHILA_SUCCESS        (GUTHTHILA_START_STATUS + 1)
+#define GUTHTHILA_FAILURE       (APR_OS_START_STATUS + 2)
+
+#endif /* GUTHTHILA_ERRNO_H */



Mime
View raw message