Siebel::COM::Exception::DataServer - Moose role to apply proper error checking for Siebel COM DataServer
use Moose; with 'Siebel::COM::Exception::DataServer';
This is a Moose Role to implement proper error checking for classes based on Siebel COM DataServer.
None by default.
An reference to a Win32::OLE::Variant object. It is used check and maintain return codes for almost all method invocation done by classes that uses Siebel::COM::Exception::DataServer.
Returns the return_code attribute value.
return_code
Checks the attribute value of return_code attribute. If it is different from zero, an exception will be raised with die.
die
The message used by die will contain the return_code value plus the error message associated.
Win32::OLE::Variant
Siebel::COM::App::DataServer
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This software is copyright (c) 2013 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org<>
This file is part of Siebel COM project.
Siebel COM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Siebel COM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Siebel COM. If not, see <http://www.gnu.org/licenses/>.
To install Siebel::COM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::COM
CPAN shell
perl -MCPAN -e shell install Siebel::COM
For more information on module installation, please visit the detailed CPAN module installation guide.