Rechercher une page de manuel
Sleepycat::XmlException.3pm
Langue: en
Version: 2008-10-21 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
XmlException - A Perl interface to the DbXml XmlException ClassSYNOPSIS
use Sleepycat::DbXml; eval { ... }; if (my $e = catch XmlException) { my $string = $e->what(); my $code = $e->getExceptionCode(); my $err = $e->getDbErrno; my $message= $e->getMessage; my $int = $e->getLineNo; my $string = $e->getFilename; }
DESCRIPTION
CONFORMANCE to C++ API
The Perl interface to XMlException is identical to the C++ API, apart from the following- 1.
- An extra metod, catch, is included in the Perl interface to simulate a C++ catch call.
- 2.
Constructor
No public constructor is provided for this class.Methods
what
getExceptionCode
getDbErrno
catch
EXAMPLES
NOTES
The exception hierarchy isstd::exception is the base exception class
UnknownException isa std::exception
XmlException isa std::exception
DbException isa std::exception
DbLockNotGrantedExcepion isa DbException
DbRunRecoveryExcepion isa DbException
DbDeadlockExcepion isa DbException
EXAMPLES
SEE ALSO
AUTHOR
Paul MarquessContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre