Exception(3)

NAME
AxKit::XSP::Exception - Exceptions taglib for eXtensible Server Pages

SYNOPSIS
Add the sendmail: namespace to your XSP `<xsp:page'> tag:

    <xsp:page
         language="Perl"
         xmlns:xsp="http://apache.org/xsp/core/v1"
         xmlns:except="http://axkit.org/NS/xsp/exception/v1"
    >
And add this taglib to AxKit (via httpd.conf or .htaccess):

    AxAddXSPTaglib AxKit::XSP::Exception

DESCRIPTION
Allows you to catch exceptions thrown by either your own code, or other taglibs.

EXAMPLE
This example shows all the tags in action:

  <except:try>
   <mail:send-mail>...</mail:send-mail>
   <except:catch>
    <p>An Error occured: <except:message/></p>
   </except:catch>
  </except:try>

AUTHOR
Matt Sergeant, matt@axkit.com

COPYRIGHT
Copyright (c) 2001 AxKit.com Ltd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO
AxKit