Jochen Wiedmann > BZ-Client-1.04 > BZ::Client::Exception

Download:
BZ-Client-1.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  2
View/Report Bugs
Module Version: 1   Source  

NAME ^

  BZ::Client::Exception - Exception class, which is thrown by
      BZ::Client in case of errors.

BZ::Client does not return error codes or do similar stuff. Instead, it throws instances of BZ::Client::Exception.

SYNOPSIS ^

  my $exception = BZ::Client::Exception->new(message => $message,
                                             http_code => $httpCode,
                                             xmlrpc_code => $xmlrpcCode);

  BZ::Client::Exception->throw(message => $message,
                               http_code => $httpCode,
                               xmlrpc_code => $xmlrpcCode);

SEE ALSO ^

  L<BZ::Client>
syntax highlighting: