Mozilla::DOM::DOMException
XXX: this class isn't supported yet here, as I've ignored catching any exceptions that are raised (though they are all noted in comments). Will soon.
Mozilla::DOM::DOMException is a wrapper around an instance of Mozilla's nsIDOMDOMException interface. This class inherits from Supports.
* In general, DOM methods return specific error values in ordinary * processing situations, such as out-of-bound errors. * However, DOM operations can raise exceptions in "exceptional" * circumstances, i.e., when an operation is impossible to perform * (either for logical reasons, because data is lost, or because the * implementation has become unstable) * * For more information on this interface please see * http://www.w3.org/TR/DOM-Level-2-Core/
The following constants are available. You can export them all with use Mozilla::DOM::DOMException qw(:errcodes) or export them individually.
use Mozilla::DOM::DOMException qw(:errcodes)
Pass this to QueryInterface.
Some methods defined for Mozilla::DOM::DOMException::nsIDOMDOMException are not available in the particular library versions against which this module was compiled.
Mozilla::DOM
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.
To install Mozilla::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mozilla::DOM
CPAN shell
perl -MCPAN -e shell install Mozilla::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.