1BZ::Client::Exception(3U)ser Contributed Perl DocumentatiBoZn::Client::Exception(3)
2
3
4
6 BZ::Client::Exception - Exception class, which is thrown by
7 BZ::Client in case of errors.
8
9 BZ::Client does not return error codes or do similar stuff. Instead,
10 it throws instances of BZ::Client::Exception.
11
13 my $exception = BZ::Client::Exception->new(message => $message,
14 http_code => $httpCode,
15 xmlrpc_code => $xmlrpcCode);
16
17 BZ::Client::Exception->throw(message => $message,
18 http_code => $httpCode,
19 xmlrpc_code => $xmlrpcCode);
20
22 L<BZ::Client>
23
24
25
26perl v5.12.0 2009-06-23 BZ::Client::Exception(3)