| 1 | # $Id: /mirror/gungho/lib/Gungho/Exception.pm 1733 2007-05-15T02:45:51.609363Z lestrrat $ | ||
| 2 | # | ||
| 3 | # Copyright (c) 2007 Daisuke Maki <daisuke@endeworks.jp> | ||
| 4 | # All rights reserved. | ||
| 5 | |||
| 6 | package Gungho::Exception; | ||
| 7 | use strict; | ||
| 8 | use warnings; | ||
| 9 | use Exception::Class | ||
| 10 | 'Gungho::Exception', | ||
| 11 | map { | ||
| 12 | ($_ => { isa => 'Gungho::Exception' }) | ||
| 13 | } qw( | ||
| 14 | Gungho::Exception::RequestThrottled | ||
| 15 | Gungho::Exception::SendRequest::Handled | ||
| 16 | Gungho::Exception::HandleResponse::Handled | ||
| 17 | ) | ||
| 18 | ; | ||
| 19 | |||
| 20 | 1; | ||
| 21 | |||
| 22 | __END__ |