Andrew Sterling Hanenkamp > Java-JCR-0.07 > Java::JCR::Exception

Download:
Java-JCR-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 0.04   Source   Latest Release: Java-JCR-0.08

NAME ^

Java::JCR::Exception - Wrapper for repository exceptions

SYNOPSIS ^

  eval {
      my $node = $root->add_node('foo', 'nt:unstructured');
  };

  if ($@) {
      print STDERR "Failed to add node foo: $@\n";
  }

DESCRIPTION ^

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.

AUTHOR ^

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

LICENSE AND COPYRIGHT ^

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.

syntax highlighting: