| Example name: |
Handle division by zero error |
| Description: |
This example shows a Flex application:
- Handling faults associated with a remote service (BasicCalcServer's Quotient() method),
- Including division by zero.
|
| Prerequisites: |
|
| Client-side code: |
Browse
Download |
| Server-side code: |
Browse
Download |
| Feature
availability: |
- WebORB for .NET Development Mode
- WebORB for .NET Community Edition
- WebORB for .NET Enterprise Edition
|
| Run example: |
|
| Key points: |
- This is the third of the BasicCalcServer series of samples.
- It shows the definition of a new function (gotFault(), line 68), to handle fault events associated with the BasicCalcServer remote service.
- Notice also
- The addition of an event listener for fault events (line 37).
- The importation of class definitions needed for fault handling (line 12).
|