Mercurial > pub > Impl
diff Lib/IMPL/DOM/Schema/ValidationError.pm @ 100:df6b4f054957
Schema in progress
Added simple mailer
author | wizard |
---|---|
date | Thu, 06 May 2010 00:54:17 +0400 |
parents | 16ada169ca75 |
children | cf3b6ef2be22 |
line wrap: on
line diff
--- a/Lib/IMPL/DOM/Schema/ValidationError.pm Wed May 05 17:33:55 2010 +0400 +++ b/Lib/IMPL/DOM/Schema/ValidationError.pm Thu May 06 00:54:17 2010 +0400 @@ -17,7 +17,7 @@ sub CTOR { my ($this,%args) = @_; - $this->{$Node} = $args{Node} or die new IMPL::InvalidArgumentException("Node is a required parameter"); + $this->{$Node} = $args{Node}; $this->{$Schema} = $args{Schema} if $args{Schema}; $this->{$Source} = $args{Source} if $args{Source}; $this->{$Message} = FormatMessage(delete $args{Message}, \%args) if $args{Message};