The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

XML::Template::Element::Exception - XML::Template plugin module for the exception namespace.

SYNOPSIS

This XML::Template plugin module implements the exception namespace tagset. The exception namespace includes tags that handle exceptions.

CONSTRUCTOR

XML::Template::Element::Block inherits its constructor method, new, from XML::Template::Element.

EXCEPTION TAGSET METHODS

throw

This method implements the tag throw which throws an exception. The following attributes are used:

name

The name of the exception to throw.

info

A description of what caused the exception.

try

This method implements the beginning of the try structure. The content of this element will be evaluated. If an exception is thrown it can be caught by the child element, catch.

catch

This method implements the catch section of a try structure. If the content of the exception element raises an exception and is caught by this element, the content will be evaluated. The following attributes are used:

name

The name of the exception to catch.

else

This method implements the else section of a try structure. If no exception is matched by the catch elements, the content of this element will be evaluated.

AUTHOR

Jonathan Waxman <jowaxman@bbl.med.upenn.edu>

COPYRIGHT

Copyright (c) 2002-2003 Jonathan A. Waxman All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.