Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

www::mediawiki::client::exceptions(3pm) [debian man page]

WWW::Mediawiki::Client::Exceptions(3pm) 		User Contributed Perl Documentation		   WWW::Mediawiki::Client::Exceptions(3pm)

NAME
WWW::Mediawiki::Client::Exception - exception handling for WWW::Mediawiki::Client SYNOPSIS
use WWW::Mediawiki::Client::Exception; use Data::Dumper; # throw eval { WWW::Mediawiki::Client::LoginException->throw( error => 'Something bad happened', res => $res, cookie_jar => $cookie_jar, ); }; # catch if (UNIVERSAL::isa($@, 'WWW::Mediawiki::Client::LoginException') { print STDERR $@->error; print Dumper($@->res); } DESCRIPTION
A base class for WWW::Mediawiki::Client exceptions. SUBCLASSES
WWW::Mediawiki::Client::URLConstructionException Indicates a problem with the URL with which we to the Mediawiki server. WWW::Mediawiki::Client::AuthException Indicates a problem with the provided authentication information WWW::Mediawiki::Client::LoginException Indicates that login failed for an unknown reason Fields: res For the apache response object returned by the attempt to log in. cookie_jar For the cookie jar which was returned by the attempt to log in. WWW::Mediawiki::Client::CookieJarException Something went wrong saving or loading the cookie jar WWW::Mediawiki::Client::FileAccessException Something went wrong saving or loading a file WWW::Mediawiki::Client::FileTypeException The file which we attempted to operate on is not a .wiki file WWW::Mediawiki::Client::AbsoluteFileNameException The file which we attempted to operate on is not a .wiki file WWW::Mediawiki::Client::CommitMessageException There is a problem with the commit message WWW::Mediawiki::Client::CommitException Something went wrong while committing a change WWW::Mediawiki::Client::PageDoesNotExistException There is no such page, either here or on the server WWW::Mediawiki::Client::UpdateNeededException The page on the server has changed since the local file was last updated WWW::Mediawiki::Client::ConflictsPresentException An attempt was made to commit a file containing conflicts WWW::Mediawiki::Client::CorruptedConfigFileException The configuration file cannot be parsed. WWW::Mediawiki::Client::ServerPageException Something went wrong fetching the server page. Throws: res The apache response object which was returned in the attempt to fetch the page. WWW::Mediawiki::Client::ReadOnlyFieldException Client code tried to set a read-only field. SEE ALSO
Exception::Class AUTHORS
Mark Jaroski <mark@geekhive.net> Author Bernhard Kaindl <bkaindl@ffii.org> Inspired the improvement in error handling and reporting. LICENSE
Copyright (c) 2004 Mark Jaroski. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-02-12 WWW::Mediawiki::Client::Exceptions(3pm)

Check Out this Related Man Page

WWW::Finger::Fingerpoint(3pm)				User Contributed Perl Documentation			     WWW::Finger::Fingerpoint(3pm)

NAME
WWW::Finger::Fingerpoint - Investigate E-mail Addresses using Fingerpoint SYNOPSIS
## Using WWW::Finger use WWW::Finger; my $finger = WWW::Finger->new("joe@example.com"); if ($finger) { if ($finger->isa('WWW::Finger::Fingerpoint')) { print "WWW::Finger used WWW::Fingerpoint "; } print $finger->name . " "; # print person's name. } ## Using WWW::Finger::Fingerpoint directly use RDF::Query::Client; use WWW::Finger::Fingerpoint; my $fingerpoint = WWW::Finger::Fingerpoint->new("joe@example.com"); if ($fingerpoint->webid) { my $sparql = sprintf( "SELECT * WHERE {<%s> <http://xmlns.com/foaf/0.1/homepage> ?page.}", $fingerpoint->webid); my $query = RDF::Query::Client->new($sparql); my $results = $query->execute($fingerpoint->endpoint); while (my $row = $results->next) { print "Found page: " . $row->{'page'}->uri . " "; } } DESCRIPTION
As well as the standard WWW::Finger methods, WWW::Finger::Fingerpoint provides this additional method: "get($p1, $p2, ...)" $p1, $p2 and are RDF predicate URIs. Returns a list of values which are non-bnode objects of triples where the predicate URI is one of the parameters and the subject URI is the person/agent fingered. # Returns phone numbers... $finger->get('http://xmlns.com/foaf/0.1/phone', 'http://rdf.data-vocabulary.org/#tel'); SEE ALSO
WWW::Finger. RDF::Query::Client, RDF::Trine. <http://buzzword.org.uk/2009/fingerpoint/spec>. <http://www.perlrdf.org/>. AUTHOR
Toby Inkster, <tobyink@cpan.org> COPYRIGHT AND LICENCE
Copyright (C) 2009-2012 by Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2012-02-23 WWW::Finger::Fingerpoint(3pm)
Man Page