/[suikacvs]/messaging/manakai/lib/Message/DOM/EventException.pm
Suika

Contents of /messaging/manakai/lib/Message/DOM/EventException.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Oct 8 07:17:18 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
++ manakai/lib/Message/DOM/ChangeLog	8 Oct 2007 07:16:56 -0000
2007-10-08  Wakaba  <wakaba@suika.fam.cx>

	* Event.pm, EventTarget.pm, EventTargetNode.pm,
	EventException.pm: Implemented (but not tested!).

	* DOMException.pm (MALFORMED_EVENT_TYPE_ERR,
	EVENT_INTERFACE_NOT_SUPPORTED_ERR, EXTERNAL_EVENT_ERR): New
	error subtypes.

	* DOMImplementation.pm ($HasFeature): The |Event| feature,
	version |3.0|, is added.

	* Document.pm, Node.pm: Event attributes and
	methods are implemented.

1 package Message::DOM::EventException;
2 use strict;
3 our $VERSION=do{my @r=(q$Revision: 1.15 $=~/\d+/g);sprintf "%d."."%02d" x $#r,@r};
4 push our @ISA, 'Message::Util::Error', 'Message::IF::EventException';
5 require Message::Util::Error;
6
7 sub ___error_def () {+{
8 UNSPECIFIED_EVENT_TYPE_ERR => {
9 -code => 0,
10 -description => q(Event type is not specified),
11 },
12 DISPATCH_REQUEST_ERR => {
13 -code => 1,
14 -description => q(The event is already dispatched),
15 },
16 }} # ___error_def
17
18 package Message::IF::EventException;
19 push our @ISA, 'Message::Util::Error';
20
21 sub UNSPECIFIED_EVENT_TYPE_ERR () { 0 }
22 sub DISPATCH_REQUEST_ERR () { 1 }
23
24 =head1 LICENSE
25
26 Copyright 2007 Wakaba <w@suika.fam.cx>
27
28 This program is free software; you can redistribute it and/or
29 modify it under the same terms as Perl itself.
30
31 =cut
32
33 1;
34 ## $Date: 2007/09/24 10:16:14 $

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24