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


Java-JCR documentation  | view source Contained in the Java-JCR distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

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

DESCRIPTION

Top

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

Top

Andrew Sterling Hanenkamp, <hanenkamp@cpan.org>

LICENSE AND COPYRIGHT

Top


Java-JCR documentation  | view source Contained in the Java-JCR distribution.