CATCH
GENERATE ERROR
RETHROW
SOAP SEND FAULT
SEND EXCEPTION
CATCH :
ACTIVITY DESCRIPTION:
The catch activity is used when an unhandled exception occurs
Using this we can either specify a particular exception that needs to be caught or we can specify all unhandled exceptions
More than one catch activity can be used but each activity should handle a unique exception type
GENERATE ERROR:
ACTIVITY DESCRIPTION:
This palette generates an error and causes an error transition if any error transition is present else it stops the execution of the process
This is generally used in a group activity or in a called process
RETHROW:
ACTIVITY DESCRIPTION:
This activity is always preceded by the Catch activity
This is used to rethrow the exception identified by the catch activity
This activity does not involve any input or output
SOAP SEND FAULT:
ACTIVITY DESCRIPTION:
This activity sends a SOAP fault to the client during the occurrence of an error in the SOAP request
It is used when a SOAP event source process starter handles incoming SOAP requests
This activity cannot be used if the SOAP request is one way
This activity requires fault code and fault string as inputs
For example ‘client’ can be used for client faults and ‘server’ can be used for server faults
SEND EXCEPTION TO ADAPTER REQUEST:
ACTIVITY DESCRIPTION:
This activity captures an exception and sends it to the adapter.
We can use the Adapter Request-Response Server as a starter process and use the Send Exception To Adapter Request in the same process
If any exceptions occurred in the Adapter Request-Response Server, then the exceptions are captured by this palette
EXCEPTIONS IN COMMONLY USED PALETTES:
Common JDBC Exceptions:
JDBCSQL Exception,
JDBCTimedOutException,
JDBCConnectionNotFoundException
JDBCDriverLoadingException
ActivityTimedOutException
Common JMS Exceptions:
JMSInvalidInputException
JMSMessageCreateException
JMSSendException
JMSSessionCreateException
JMSReceiveException
Common HTTP Exceptions:
HTTPServiceException
HTTPClientException
HTTPCommunicationException
For training on TIBCO BusinessWorks mail us at [email protected]