Lutz Gehlen > SVG-Rasterize > SVG::Rasterize::Exception

Download:
SVG-Rasterize-0.003008.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.003007   Source  

NAME ^

SVG::Rasterize::Exception - exception classes

VERSION ^

Version 0.003007

DESCRIPTION ^

This module uses Exception::Class to define a set of exception classes and provides a list of short hand subroutines to throw these exceptions.

Error Messages

The following list will eventually contain all error messages produced by the SVG::Rasterize distribution.

Subroutines offered for Import

Most of these functions will be completely useless to you. The documentation is mainly for myself. The idea behind this is that an object that wants to throw an exception needs to use as few code as possible thereby avoiding too much disturbance of a reader. Additionally, the precise phrasing of the messages can be kept at a central place.

All of the routines are supposed to be called as methods of (both are possible) either SVG::Rasterize or SVG::Rasterize::State. The reason for this is that the State object will be given to the exception object and the Rasterize object is needed to call its in_error method. However, on request this requirement could be relaxed to that the object on which the methods are called has to provide either a state or a rasterize method which then provides the respective objects.

SEE ALSO ^

AUTHOR ^

Lutz Gehlen, <perl at lutzgehlen.de>

LICENSE AND COPYRIGHT ^

Copyright 2010-2011 Lutz Gehlen.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: