On 2009-05-13, Филимонов Максим Сергеевич <[email protected]> wrote:

> I think maybe there is some additional value in wrapping
> SystemExceptions into XmlUnit exceptions:
> 1) We would be more decoupled from .net if we will wrap our exceptions
> with XmlUnit exception and can share code between java/.net in high
> level easily.

True.

> 3) Will be much easier to share tests , remember your idea , huh ? :)

tests, what tests? ;-)

> Also i want to suggest use another class not XMLUnit Exception maybe
> something like XMLUnitPersistanceException or something like that.

Right now the Java trunk has XMLUnitRuntimeException (happy to use a
different name) as the more general case and ConfigurationException
that is used to wrap the various JAXP ConfigurationException classes:
<http://xmlunit.svn.sourceforge.net/viewvc/xmlunit/trunk/xmlunit/src/main/java-core/net/sf/xmlunit/exceptions/>

Java 1.2 also has a specific XPathException.

We can invent new XMLUnitRuntimeException subclasses as we go IMHO.

Stefan

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to