NAME

RDF::Server::Exception - exception classes

SYNOPSIS

use RDF::Server::Exception;

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

DESCRIPTION

EXCEPTIONS

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

METHODS

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

James Smith, <jsmith@cpan.org>

LICENSE

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.