Java::JCR::Exception - Wrapper for repository exceptions
eval { my $node = $root->add_node('foo', 'nt:unstructured'); }; if ($@) { print STDERR "Failed to add node foo: $@\n"; }
This class is used to make the exceptions thrown from the Java code work more nicely in Perl. Primarily, this involves performing nicer stringification than is provided by Inline::Java.
Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>
Copyright 2006 Andrew Sterling Hanenkamp <hanenkamp@cpan.org>. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Java::JCR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Java::JCR
CPAN shell
perl -MCPAN -e shell install Java::JCR
For more information on module installation, please visit the detailed CPAN module installation guide.