You are on page 1of 6

ERROR HANDLING

Generate Error

T his acti vit y ge ne rate s an e rror and c ause s an


immediate transition to any error transitions.
I f t h e re are n o e rro r t r an s i t i o n s , t h e p ro c e s s
i n s t a n c e h al t s exe c u t i on .
T his ac tivity is u seful in a gro up or i n a cal le d
p r o c e s s . I f y o u w o u l d l i ke t o c a t c h a n d r a i s e
your o wn e rro r con dit ion s, yo u c an use thi s
activity to do so.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Generate Error

For a process that calls a sub process to check the credit of a customer,
you can use the Generate Error activity to raise an error for any error
conditions, such as the customer does not exist, or the customer has no
credit available.
In the called sub process, create a transition to the Generate Error
activity after detecting the error condition and the called process
terminates. Processing continues with an error in the calling process. An
error transition on the Call Process activity can handle the error.
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Catch
The Catch activity receives control of execution when an unhandled
exception occurs.
You can select a specific exception type to catch or you can specify
that this activity should catch all unhandled exceptions.
You can have more than one Catch activity in each exception scope,
but each Catch activity must have a unique exception type.
The Catch activity allows you to transition to activities you wish to
perform to handle the exception.
Transitions are permitted between Catch tracks within an exception
scope, but you can not transition back to the main execution track
from the Catch track.
If you wish to propagate the caught exception to the next highest
scope,
use theCONFIDENTIAL:
Rethrow
WISHTREE TECHNOLOGIES
Thisactivity.
document is for your company's internal use only and may not be copied nor
distributed to another third party.

Rethrow

T h e Re t h r o w a c t i v i t y t h ro w s t h e e x c e p t i o n
caught by the Catch activity again.
Use this activity when you wish to
propagate the exception to the next level.

WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

Thank You
Contact Us:
WishtreeTechnologies
Suite 311, Bldg B,
Ganga Osian(GO) Square IT Park,
Wakad Rd, Kaspate Wasti,
Wakad, Pune, 411057
Contact No. +912060123456
Email id:learning@wishtreetech.com
US Contact No. +415-251-5098
UK Contact No. +44 7937436285
Mobile No. India +91 9687206535
Website:
http://www.wishtreetech.com
WISHTREE TECHNOLOGIES CONFIDENTIAL: This document is for your company's internal use only and may not be copied nor
distributed to another third party.

You might also like