- SEE ALSO
- LICENSE AND COPYRIGHT
SVG::Rasterize::Exception - exception classes
This module uses Exception::Class to define a set of exception classes and provides a list of short hand subroutines to throw these exceptions.
The following list will eventually contain all error messages produced by the
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.
Stands for "exception settings load".
Stands for "exception engine overload".
Stands for "exception parse".
Stands for "exception unsupported singular".
Stands for "exception unsupported plural".
Stands for "exception
Stands for "exception surface invalid width".
Stands for "exception surface invalid height".
Stands for "exception attribute readonly".
Stands for "exception parameter relative length".
Stands for "exception parameter matrix number".
Stands for "exception parameter medium font-size negative".
Stands for "exception context parent text".
Stands for "exception hook before_node odd number".
Stands for "in error
Params::Validate". Should be used if it cannot be determined where the incriminated value came from (see ie_at_pv). map_length in
SVG::Rasterize::Stateuses this function although the value will be an attribute.
Stands for "in error element".
Stands for "in error attribute
Params::Validate". Should be used if it is sure that it is an attribute that failed the validation. _process_node in
SVG::Rasterize::Stateuses this function. Probably all others should use ie_pv.
Stands for "in error attribute viewBox negative width".
Stands for "in error attribute viewBox negative height".
Stands for "in error attribute path data".
Stands for "in error attribute points".
Stands for "in error attribute rectangle negative width".
Stands for "in error attribute rectangle negative height".
Stands for "in error attribute rectangle negative (corner) radius".
Stands for "in error attribute circle negative radius".
Stands for "in error attribute ellipse negative radius".
Stands for "in error property
Stands for "in error property color invalid value".
Stands for "in error property stroke negative miter limit".
Stands for "in error property stroke negative (value in) dash array".
<perl at lutzgehlen.de>
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.