BZ::Client::Exception.3pm

Langue: en

Version: 2009-06-23 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

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>