RDF::Server::Exception - exception classes


RDF-Server documentation  | view source Contained in the RDF-Server distribution.

Index


NAME

Top

RDF::Server::Exception - exception classes

SYNOPSIS

Top

 use RDF::Server::Exception;

 throw RDF::Server::Exception::NotFound;

DESCRIPTION

Top

EXCEPTIONS

Top

BadRequest (400)
Forbidden (403)
NotFound (404)
MethodNotAllowed (405)
Conflict (409)
InternalServerError (500)

METHODS

Top

throw (%headers)

Use throw to propagate an error up the call stack. This will bypass any further processing of a request and immediately cause the framework to return the given error.

The Content and Status headers are special and will set the content and status of the response. All other key value pairs will be used to set the response headers.

AUTHOR

Top

James Smith, <jsmith@cpan.org>

LICENSE

Top

Copyright (c) 2008 Texas A&M University.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.


RDF-Server documentation  | view source Contained in the RDF-Server distribution.