Home
Site Map
Members Login
iNTERFACEWARE™ Inc.
News
Products
Downloads
Support
Services
Resources
Company
Contact
SEARCH:
iNTERFACEWARE Products Manual
>
Chameleon
>
Using Python Scripting
>
Learning Python
>
Error Detection
> Error Detection Details
About This Manual
HL7 Overview
Iguana
Chameleon
Getting Started
Chameleon Overview
Chameleon Interface
Learning the Basics
Using Python Scripting
Learning Python
Working With Values and Variables
Conditional Statements and Loops
Lists
Dictionaries
Functions
Working With Strings
File Reading and Writing
Error Detection
Overview of Errors
Exception Handling
Error Detection Details
Error Parameters
Multiple Exceptions
Ignoring Exceptions
Exception Hierarchies
Specifying Code For When No Exception Occurs
Modules
Additional Resources
Using Python Scripts in Chameleon
Chameleon Python API
Python Scripting Examples
Debugging Python
Viewing a Summary of Python Scripts
Supported Python Libraries
HL7 <-> HL7 Transformation
XML <-> HL7 Translation
Learning the Advanced Features
Using the Tools and Utility Applications
Deploying Chameleon Applications
Tutorials and Exercises
Sample Applications
Designing HL7 Interfaces
Troubleshooting
Unix Support
Language API Documentation
How to Report Problems
Error Detection Details
The following sections describe exception handling in more detail. You can:
Handle parameters supplied with an error;
Define multiple
except
statements in an exception handler;
Handle multiple errors using a single
except
statement;
Use the
pass
statement to create an exception handler that does nothing except trap the error;
Create a hierarchy of exception handlers;
Provide code to be executed if no exceptions occur.
Error Parameters
Multiple Exceptions
Ignoring Exceptions
Exception Hierarchies
Specifying Code For When No Exception Occurs