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 da...@apache.org on 2006/02/02 03:46:10 UTC
svn commit: r374230 - in /webservices/axis2/trunk/c: ./ include/
modules/core/clientapi/ modules/core/engine/ modules/core/phaseresolver/
modules/util/ modules/xml/soap/
Author: damitha
Date: Wed Feb 1 18:45:51 2006
New Revision: 374230
URL: http://svn.apache.org/viewcvs?rev=374230&view=rev
Log:
Removed Exception throws from method comments.
Updated anjuta projec files
Modified:
webservices/axis2/trunk/c/build.sh
webservices/axis2/trunk/c/include/axis2_dep_engine.h
webservices/axis2/trunk/c/include/axis2_engine.h
webservices/axis2/trunk/c/include/axis2_mep_client.h
webservices/axis2/trunk/c/include/axis2_phase.h
webservices/axis2/trunk/c/include/axis2_phase_holder.h
webservices/axis2/trunk/c/include/axis2_phase_resolver.h
webservices/axis2/trunk/c/modules/core/clientapi/call.c
webservices/axis2/trunk/c/modules/core/engine/engine.c
webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c
webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c
webservices/axis2/trunk/c/modules/util/axis2_array_list.h
webservices/axis2/trunk/c/modules/util/axis2_linked_list.h
webservices/axis2/trunk/c/modules/util/linked_list.c
webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
Modified: webservices/axis2/trunk/c/build.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/build.sh?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build.sh (original)
+++ webservices/axis2/trunk/c/build.sh Wed Feb 1 18:45:51 2006
@@ -4,3 +4,5 @@
./configure --prefix=${AXIS2C_HOME}
make
make install
+cp -f ${AXIS2C_HOME}/lib/libecho.so ${AXIS2C_HOME}/services/echo
+cp -f ${AXIS2C_HOME}/lib/libmath.so ${AXIS2C_HOME}/services/math
Modified: webservices/axis2/trunk/c/include/axis2_dep_engine.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_dep_engine.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_dep_engine.h (original)
+++ webservices/axis2/trunk/c/include/axis2_dep_engine.h Wed Feb 1 18:45:51 2006
@@ -156,7 +156,6 @@
* @param serviceInputStream
* @param classLoader
* @return
- * @throws DeploymentException
*/
axis2_svc_t *(AXIS2_CALL *
build_svc) (axis2_dep_engine_t *dep_engine,
@@ -169,7 +168,6 @@
*
* @param modulearchive
* @return
- * @throws DeploymentException
*/
axis2_module_desc_t *(AXIS2_CALL *
Modified: webservices/axis2/trunk/c/include/axis2_engine.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_engine.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_engine.h (original)
+++ webservices/axis2/trunk/c/include/axis2_engine.h Wed Feb 1 18:45:51 2006
@@ -56,7 +56,6 @@
* deployment time by the deployment module
*
* @param msgContext
- * @throws AxisFault
* @see MessageContext
* @see Phase
* @see Handler
@@ -67,7 +66,6 @@
* Here the <code>ExecutionChain</code> is created using the Phases. The Handlers at the each Phases is ordered in
* deployment time by the deployment module
*
- * @throws AxisFault
* @see MessageContext
* @see Phase
* @see Handler
@@ -77,7 +75,6 @@
* Sends the SOAP Fault to another SOAP node.
*
* @param msg_ctx
- * @throws AxisFault
*/
axis2_status_t (AXIS2_CALL *send_fault)(struct axis2_engine *engine, axis2_env_t **env, axis2_msg_ctx_t *msg_ctx);
/**
@@ -85,7 +82,6 @@
* Receives a SOAP fault from another SOAP node.
*
* @param msg_ctx
- * @throws AxisFault
*/
axis2_status_t (AXIS2_CALL *receive_fault)(struct axis2_engine *engine, axis2_env_t **env, axis2_msg_ctx_t *msg_ctx);
/**
@@ -95,7 +91,6 @@
*
* @param processingContext
* @param e
- * @throws AxisFault
*/
axis2_msg_ctx_t* (AXIS2_CALL *create_fault_msg_ctx)(struct axis2_engine *engine, axis2_env_t **env,
axis2_msg_ctx_t *processing_context);
Modified: webservices/axis2/trunk/c/include/axis2_mep_client.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_mep_client.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_mep_client.h (original)
+++ webservices/axis2/trunk/c/include/axis2_mep_client.h Wed Feb 1 18:45:51 2006
@@ -91,8 +91,8 @@
axis2_env_t **env);
/**
* Engage a given Module to the current invocation. But to call this method the
- * Module *MUST* be enable (picked up by the deployment and known to Axis2) else
- * Exception will be thrown. To be detected put the moduels to the AXIS2_REPOSITORY/modules directory
+ * Module *MUST* be enable (picked up by the deployment and known to Axis2) .
+ * To be detected put the moduels to the AXIS2_REPOSITORY/modules directory
*
* @param name
* @
Modified: webservices/axis2/trunk/c/include/axis2_phase.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phase.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase.h Wed Feb 1 18:45:51 2006
@@ -79,7 +79,6 @@
* If need to see how this works look at the stack!
*
* @param msg_ctx
- * @throws org.apache.axis2.AxisFault
*/
axis2_status_t (AXIS2_CALL *invoke)(struct axis2_phase *phase,
axis2_env_t **env,
@@ -98,7 +97,6 @@
* Method setPhaseFirst
*
* @param first_handler
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *set_first_handler)(struct axis2_phase *phase,
axis2_env_t **env, axis2_handler_t * handler);
@@ -106,7 +104,6 @@
* Method setPhaseLast
*
* @param last_handler
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *set_last_handler)(struct axis2_phase *phase,
axis2_env_t **env, axis2_handler_t * handler);
@@ -114,7 +111,6 @@
* Method add_handler
*
* @param handler
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *add_handler_desc)(struct axis2_phase *phase,
axis2_env_t **env, axis2_handler_desc_t * handler_desc);
@@ -137,7 +133,6 @@
* That condition is not checked by this function. It should be checked befor calling this function
*
* @param handler
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *insert_before_and_after)(struct axis2_phase *phase, axis2_env_t **env, axis2_handler_t * handler);
Modified: webservices/axis2/trunk/c/include/axis2_phase_holder.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phase_holder.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase_holder.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase_holder.h Wed Feb 1 18:45:51 2006
@@ -80,7 +80,6 @@
* Method addHandler
*
* @param handler
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *
add_handler) (axis2_phase_holder_t *phase_holder,
@@ -105,7 +104,6 @@
*
* @param phase
* @param handlers
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *
build_transport_handler_chain) (axis2_phase_holder_t *phase_holder,
Modified: webservices/axis2/trunk/c/include/axis2_phase_resolver.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_phase_resolver.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_phase_resolver.h (original)
+++ webservices/axis2/trunk/c/include/axis2_phase_resolver.h Wed Feb 1 18:45:51 2006
@@ -78,8 +78,6 @@
/**
* Method buildchains
*
- * @throws PhaseException
- * @throws AxisFault
*/
axis2_status_t (AXIS2_CALL *
build_chains) (axis2_phase_resolver_t *phase_resolver,
@@ -89,7 +87,6 @@
* To build the opration for the opeartion which the module going to be added
*
* @param op <code>AxisOperation</code>
- * @throws AxisFault
*/
axis2_status_t (AXIS2_CALL *
build_module_op) (axis2_phase_resolver_t *phase_resolver,
@@ -102,7 +99,6 @@
/**
* Method buildTranspotsChains
*
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *
build_transport_chains) (axis2_phase_resolver_t *phase_resolver,
@@ -119,7 +115,6 @@
*
* @param service
* @param module
- * @throws PhaseException
*/
axis2_status_t (AXIS2_CALL *
engage_module_to_svc_from_global) (axis2_phase_resolver_t *phase_resolver,
Modified: webservices/axis2/trunk/c/modules/core/clientapi/call.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/call.c?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/call.c (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/call.c Wed Feb 1 18:45:51 2006
@@ -569,7 +569,6 @@
* @param sender_transport
* @param listener_transport
* @param use_separate_listener
- * @throws AxisFault
*/
axis2_status_t AXIS2_CALL axis2_call_set_transport_info(struct axis2_call *call,
@@ -665,7 +664,6 @@
* Check has the transports are identified correctly
*
* @param msg_ctx
- * @throws AxisFault
*/
axis2_status_t AXIS2_CALL axis2_call_check_transport(struct axis2_call *call,
axis2_env_t **env,
@@ -810,7 +808,6 @@
* @param op - this will be used to identify the operation in the client side, without dispatching
* @param toSend - This should be OM Element (payload)
* @return
- * @throws AxisFault
*/
axis2_om_node_t* AXIS2_CALL axis2_call_invoke_blocking_with_om(struct axis2_call *call,
axis2_env_t **env,
@@ -883,7 +880,6 @@
* @param op_name - this will be used to identify the operation in the client side, without dispatching
* @param envelope - This should be SOAPEnvelope
* @return
- * @throws AxisFault
*/
axis2_soap_envelope_t* AXIS2_CALL axis2_call_invoke_blocking_with_soap(struct axis2_call *call,
axis2_env_t **env,
@@ -949,7 +945,6 @@
* @param om_node_to_send - This should be OM Element (payload)
* invocation behaves accordingly
* @param callback
- * @throws org.apache.axis2.AxisFault
*/
axis2_status_t AXIS2_CALL axis2_call_invoke_non_blocking_with_om(struct axis2_call *call,
@@ -1004,7 +999,6 @@
* @param envelope - This should be a SOAP Envelope
* invocation behaves accordingly
* @param callback
- * @throws org.apache.axis2.AxisFault
*/
axis2_status_t AXIS2_CALL axis2_call_invoke_non_blocking_with_soap(struct axis2_call *call,
Modified: webservices/axis2/trunk/c/modules/core/engine/engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/engine.c?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/engine.c Wed Feb 1 18:45:51 2006
@@ -131,7 +131,6 @@
* deployment time by the deployment module
*
* @param msgContext
- * @throws AxisFault
* @see MessageContext
* @see Phase
* @see Handler
@@ -234,7 +233,6 @@
* Here the <code>ExecutionChain</code> is created using the Phases. The Handlers at the each Phases is ordered in
* deployment time by the deployment module
*
- * @throws AxisFault
* @see MessageContext
* @see Phase
* @see Handler
@@ -329,7 +327,6 @@
* Sends the SOAP Fault to another SOAP node.
*
* @param msg_ctx
- * @throws AxisFault
*/
axis2_status_t AXIS2_CALL axis2_engine_send_fault(struct axis2_engine *engine, axis2_env_t **env, axis2_msg_ctx_t *msg_ctx)
{
@@ -377,7 +374,6 @@
* Receives a SOAP fault from another SOAP node.
*
* @param msg_ctx
- * @throws AxisFault
*/
axis2_status_t AXIS2_CALL axis2_engine_receive_fault(struct axis2_engine *engine, axis2_env_t **env, axis2_msg_ctx_t *msg_ctx)
{
@@ -440,7 +436,6 @@
*
* @param processingContext
* @param e
- * @throws AxisFault
*/
axis2_msg_ctx_t* AXIS2_CALL axis2_engine_create_fault_msg_ctx(struct axis2_engine *engine, axis2_env_t **env,
axis2_msg_ctx_t *processing_context)
Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c (original)
+++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_holder.c Wed Feb 1 18:45:51 2006
@@ -192,7 +192,6 @@
* Method addHandler
*
* @param handler
- * @throws PhaseException
*/
axis2_status_t AXIS2_CALL
axis2_phase_holder_add_handler(axis2_phase_holder_t *phase_holder,
@@ -267,7 +266,6 @@
*
* @param phase
* @param handlers
- * @throws PhaseException
*/
axis2_status_t AXIS2_CALL
axis2_phase_holder_build_transport_handler_chain(axis2_phase_holder_t *phase_holder,
Modified: webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c (original)
+++ webservices/axis2/trunk/c/modules/core/phaseresolver/phase_resolver.c Wed Feb 1 18:45:51 2006
@@ -97,7 +97,6 @@
* Method buildTransportChains
*
* @param transport
- * @throws PhaseException
*/
axis2_status_t
axis2_phase_resolver_build_out_transport_chains(axis2_phase_resolver_t *phase_resolver,
Modified: webservices/axis2/trunk/c/modules/util/axis2_array_list.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/axis2_array_list.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/axis2_array_list.h (original)
+++ webservices/axis2/trunk/c/modules/util/axis2_array_list.h Wed Feb 1 18:45:51 2006
@@ -185,7 +185,6 @@
* Constructs a new array list with the supplied initial capacity.
* If capacity is invalid (<= 0) then default capacity is used
* @param capacity initial capacity of this array_list
- * @throws IllegalArgumentException if capacity is negative
*/
AXIS2_DECLARE(axis2_array_list_t*) axis2_array_list_create(axis2_env_t **env, int capacity);
Modified: webservices/axis2/trunk/c/modules/util/axis2_linked_list.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/axis2_linked_list.h?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/axis2_linked_list.h (original)
+++ webservices/axis2/trunk/c/modules/util/axis2_linked_list.h Wed Feb 1 18:45:51 2006
@@ -108,7 +108,6 @@
* Checks that the index is in the range of existing elements (exclusive).
*
* @param index the index to check
- * @throws IndexOutOfBoundsException if index < 0 || index >= size
*/
axis2_bool_t (AXIS2_CALL *
check_bounds_exclusive)(axis2_linked_list_t *linked_list,
@@ -119,7 +118,6 @@
* Returns the first element in the list.
*
* @return the first list element
- * @throws NoSuchElementException if the list is empty
*/
void * (AXIS2_CALL *
get_first)(axis2_linked_list_t *linked_list,
@@ -263,7 +261,6 @@
*
* @param index the location of the element to remove
* @return the removed element
- * @throws IndexOutOfBoundsException if index < 0 || index > size()
*/
void * (AXIS2_CALL *
remove_at_index) (axis2_linked_list_t *linked_list,
Modified: webservices/axis2/trunk/c/modules/util/linked_list.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/linked_list.c?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/linked_list.c (original)
+++ webservices/axis2/trunk/c/modules/util/linked_list.c Wed Feb 1 18:45:51 2006
@@ -39,7 +39,7 @@
* the list (that is, insertions and removals). Structural modifications
* are ones which change the list size or affect how iterations would
* behave. This field is available for use by Iterator and ListIterator,
- * in order to throw a {@link ConcurrentModificationException} in response
+ * in order to set an error code in response
* to the next op on the iterator. This <i>fail-fast</i> behavior
* saves the user from many subtle bugs otherwise possible from concurrent
* modification during iteration.
@@ -451,7 +451,6 @@
* Checks that the index is in the range of existing elements (exclusive).
*
* @param index the index to check
-* @throws IndexOutOfBoundsException if index < 0 || index >= size
*/
axis2_bool_t AXIS2_CALL
axis2_linked_list_check_bounds_exclusive(axis2_linked_list_t *linked_list,
@@ -471,7 +470,6 @@
* Returns the first element in the list.
*
* @return the first list element
-* @throws NoSuchElementException if the list is empty
*/
void * AXIS2_CALL
axis2_linked_list_get_first(axis2_linked_list_t *linked_list,
@@ -811,7 +809,6 @@
*
* @param index the location of the element to remove
* @return the removed element
-* @throws IndexOutOfBoundsException if index < 0 || index > size()
*/
void * AXIS2_CALL
axis2_linked_list_remove_at_index(axis2_linked_list_t *linked_list,
Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_body.c?rev=374230&r1=374229&r2=374230&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_body.c Wed Feb 1 18:45:51 2006
@@ -314,9 +314,7 @@
/**
* @param soapFault
- * @throws org.apache.axis2.om.OMException
*
- * @throws OMException
*/
axis2_status_t AXIS2_CALL
axis2_soap_body_add_fault(axis2_soap_body_t *body,