Date: Mon, 22 Nov 2010 02:33:54 +0000 (UTC) From: Jun Kuriyama <kuriyama@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/www Makefile ports/www/p5-HTTP-Exception Makefile distinfo pkg-descr pkg-plist Message-ID: <201011220233.oAM2XsXK040813@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kuriyama 2010-11-22 02:33:54 UTC FreeBSD ports repository Modified files: www Makefile Added files: www/p5-HTTP-Exception Makefile distinfo pkg-descr pkg-plist Log: Every HTTP::Exception is a Exception::Class - Class. So the same mechanisms apply as with Exception::Class-classes. In fact have a look at Exception::Class' docs for more general information on exceptions and Exception::Class::Base for information on what methods a caught exception also has. HTTP::Exception is only a factory for HTTP::Exception::XXX (where X is a number) subclasses. That means that HTTP::Exception->new(404) returns a HTTP::Exception::404 object, which in turn is a HTTP::Exception::Base - Object. WWW: http://search.cpan.org/dist/HTTP-Exception/ Revision Changes Path 1.2740 +1 -0 ports/www/Makefile 1.1 +33 -0 ports/www/p5-HTTP-Exception/Makefile (new) 1.1 +2 -0 ports/www/p5-HTTP-Exception/distinfo (new) 1.1 +12 -0 ports/www/p5-HTTP-Exception/pkg-descr (new) 1.1 +13 -0 ports/www/p5-HTTP-Exception/pkg-plist (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011220233.oAM2XsXK040813>