Re: perlmagick try catch
Rick Leir <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <CAGitpvaNE+vzgd7DsonNwSmBHUXe0SDP-_AULD6-qk8-_TA3zA@mail.gmail.com> |
Thanks Bob, and your answer was useful. May I post it for all to see? On Fri, Jul 24, 2015 at 12:43 PM, Bob Friesenhahn < [email protected]> wrote: > On Fri, 24 Jul 2015, Rick Leir wrote: > > > Hi Bob and everyone, > > (I am resending this because the lists were down) > > Is there a way to catch exceptions? Here is a simple test, with an > obvious error, Rotate does not accept geometry, but the program > > does not get to the catch: > > I did previously respond directly to your email address. > > To my knowledge, the GraphicsMagick variant of PerlMagick does not > throw native Perl exceptions. Instead it returns a parsable string > which includes the word "Exception". > > Perhaps PerlMagick was implemented before Perl supported exceptions. > > Bob > -- > Bob Friesenhahn > [email protected], http://www.simplesystems.org/users/bfriesen/ > GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ > > > ------------------------------------------------------------------------------ > _______________________________________________ > Graphicsmagick-help mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help > -- Rick Leir Developer, Canadiana.ca ------------------------------------------------------------------------------ _______________________________________________ Graphicsmagick-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help