You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ma...@apache.org on 2007/07/16 07:43:42 UTC
svn commit: r556510 - in /webservices/axis2/trunk/c/util:
include/axutil_error.h src/error.c
Author: manjula
Date: Sun Jul 15 22:43:41 2007
New Revision: 556510
URL: http://svn.apache.org/viewvc?view=rev&rev=556510
Log:
Adding error codes for neethi.
Modified:
webservices/axis2/trunk/c/util/include/axutil_error.h
webservices/axis2/trunk/c/util/src/error.c
Modified: webservices/axis2/trunk/c/util/include/axutil_error.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_error.h?view=diff&rev=556510&r1=556509&r2=556510
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_error.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_error.h Sun Jul 15 22:43:41 2007
@@ -550,6 +550,46 @@
/* bad search text */
AXIS2_ERROR_REPOS_BAD_SEARCH_TEXT,
+ /*
+ *Group - Neethi
+ */
+ /* No Namespace*/
+ AXIS2_ERROR_NEETHI_ELEMENT_WITH_NO_NAMESPACE,
+ /*Policy cannot be created from element*/
+ AXIS2_ERROR_NEETHI_POLICY_CREATION_FAILED_FROM_ELEMENT,
+ /*All Cannot be created from element*/
+ AXIS2_ERROR_NEETHI_ALL_CREATION_FAILED_FROM_ELEMENT,
+ /*Exactlyone Cannot be created element*/
+ AXIS2_ERROR_NEETHI_EXACTLYONE_CREATION_FAILED_FROM_ELEMENT,
+ /*Reference Cannot be created from element*/
+ AXIS2_ERROR_NEETHI_REFERENCE_CREATION_FAILED_FROM_ELEMENT,
+ /*Assertion Cannot be created from element*/
+ AXIS2_ERROR_NEETHI_ASSERTION_CREATION_FAILED_FROM_ELEMENT,
+ /*All creation failed*/
+ AXIS2_ERROR_NEETHI_ALL_CREATION_FAILED,
+ /*Exactlyone creation failed*/
+ AXIS2_ERROR_NEETHI_EXACTLYONE_CREATION_FAILED,
+ /*Policy Creation failed*/
+ AXIS2_ERROR_NEETHI_POLICY_CREATION_FAILED,
+ /*Normalization failed*/
+ AXIS2_ERROR_NEETHI_NORMALIZATION_FAILED,
+ /*Merging Failed. Wrong Input*/
+ AXIS2_ERROR_NEETHI_WRONG_INPUT_FOR_MERGE,
+ /*Merging Failed. Cross Product failed*/
+ AXIS2_ERROR_NEETHI_CROSS_PRODUCT_FAILED,
+ /*No Children Policy Components*/
+ AXIS2_ERROR_NEETHI_NO_CHILDREN_POLICY_COMPONENTS,
+ /*Uri Not specified*/
+ AXIS2_ERROR_NEETHI_URI_NOT_SPECIFIED,
+ /*Policy NULL for the given uri*/
+ AXIS2_ERROR_NEETHI_NO_ENTRY_FOR_THE_GIVEN_URI,
+ /*Exactlyone not found in Normalized policy*/
+ AXIS2_ERROR_NEETHI_EXACTLYONE_NOT_FOUND_IN_NORMALIZED_POLICY,
+ /*Exactlyone is Empty*/
+ AXIS2_ERROR_NEETHI_EXACTLYONE_IS_EMPTY,
+ /*Exactlyone not found while getting cross product*/
+ AXIS2_ERROR_NEETHI_ALL_NOT_FOUND_WHILE_GETTING_CROSS_PRODUCT,
+
/** The following has to be the last error value all the time.
All other error codes should appear above this.
AXIS2_ERROR_LAST is used to track the number of error codes present
Modified: webservices/axis2/trunk/c/util/src/error.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/error.c?view=diff&rev=556510&r1=556509&r2=556510
==============================================================================
--- webservices/axis2/trunk/c/util/src/error.c (original)
+++ webservices/axis2/trunk/c/util/src/error.c Sun Jul 15 22:43:41 2007
@@ -472,6 +472,44 @@
axutil_error_messages[AXIS2_ERROR_REPOS_BAD_SEARCH_TEXT] =
"BAD_SEARCH_TEXT";
+ /* neethi*/
+ axutil_error_messages[AXIS2_ERROR_NEETHI_ELEMENT_WITH_NO_NAMESPACE] =
+ "Element With No Namespace";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_POLICY_CREATION_FAILED_FROM_ELEMENT] =
+ "Policy Creation failed from element";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_ALL_CREATION_FAILED_FROM_ELEMENT] =
+ "All creation failed from element";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_EXACTLYONE_CREATION_FAILED_FROM_ELEMENT] =
+ "Exactlyone creation failed from element";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_REFERENCE_CREATION_FAILED_FROM_ELEMENT] =
+ "Reference creation failed from element";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_ASSERTION_CREATION_FAILED_FROM_ELEMENT] =
+ "Assertion creation failed from element";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_ALL_CREATION_FAILED] =
+ "All Creation failed";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_EXACTLYONE_CREATION_FAILED] =
+ "Exactlyone Creation failed";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_POLICY_CREATION_FAILED] =
+ "Policy Creation failed";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_NORMALIZATION_FAILED] =
+ "Normalization failed";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_WRONG_INPUT_FOR_MERGE] =
+ "Wrong Input for merge";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_CROSS_PRODUCT_FAILED] =
+ "Cross Product failed";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_NO_CHILDREN_POLICY_COMPONENTS] =
+ "No Children Policy components";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_URI_NOT_SPECIFIED] =
+ "Reference Uri not specified";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_NO_ENTRY_FOR_THE_GIVEN_URI] =
+ "No entry for the given Uri";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_EXACTLYONE_NOT_FOUND_IN_NORMALIZED_POLICY] =
+ "Exactlyone not found in normalized_policy";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_EXACTLYONE_IS_EMPTY] =
+ "Exactlyone is Empty";
+ axutil_error_messages[AXIS2_ERROR_NEETHI_ALL_NOT_FOUND_WHILE_GETTING_CROSS_PRODUCT] =
+ "All not found while getting cross product";
+
return AXIS2_SUCCESS;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org