++ed by:
AWNCORP CJFIELDS CKRAS MAJENSEN

4 PAUSE user(s)
1 non-PAUSE user(s).

Mark Allen Jensen

NAME

REST::Neo4p::Exceptions - Exception::Class objects for REST::Neo4p

SYNOPSIS

 use REST::Neo4p;
 
 my $server = 'http:127.0.0.1:7474';
 my $RETRIES = 3;
 my $e;
 do {
   eval {
     REST::Neo4p->connect($server);
     $RETRIES--;
   };
 } while ( $e = Exception::Class->caught('REST::Neo4p::CommException') );
 ref $e ? $e->rethrow : die $e if $e;

Classes

  • Base Class : REST::Neo4p::Exception

    • REST::Neo4p::CommException

      Network and server communication errors. Method code() returns the HTTP status code.

    • REST::Neo4p::LocalException

      REST::Neo4p module-local errors.

      • REST::Neo4p::ClassOnlyException

        Attempt to use a class-only method on a class instance.

      • REST::Neo4p::NotSuppException

        Attempt to use a base method not supported in the subclass.

      • REST::Neo4p::NotImplException

        Attempt to use a not yet implemented method.

      • REST::Neo4p::AbstractMethodException

        Attempt to call a subclass-only method from a parent class.

      • REST::Neo4p::ConstraintException

        Attempt to perform a database action that violates an application-level constraint (REST::Neo4p::Constrain, REST::Neo4p::Constraint).

      • REST::Neo4p::ConstraintSpecException

        Attempt to create a new constraint with incorrect constraint syntax (REST::Neo4p::Constrain,REST::Neo4p::Constraint)

    • REST::Neo4p::Neo4jException

      Exceptions and errors generated by the Neo4j server. Methods neo4j_message(), neo4j_stacktrace(), neo4j_exception() return server-generated info.

      • REST::Neo4p::NotFoundException

        Requested item not found in database.

      • REST::Neo4p::QuerySyntaxException

        Bad query syntax (see REST::Neo4p::Query).

SEE ALSO

REST::Neo4p, Exception::Class

AUTHOR

    Mark A. Jensen
    CPAN ID: MAJENSEN
    TCGA DCC
    mark -dot- jensen -at- nih -dot- gov
    http://tcga-data.nci.nih.gov

LICENSE

Copyright (c) 2012-2013 Mark A. Jensen. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.




Hosting generously
sponsored by Bytemark