the isValid() method is insufficient -> add validate() throws MCRException

Description

The isValid() method of MCRBase and its object descendents (like MCRObject, MCRMetaDefault ...) does not help if the XML is invalid. It just returns a boolean value which cannot represent a concrete error.

Add a validate() throws MCRException method which lets the developer see what truly went wrong.

Environment

None

Assignee

Matthias Eichner

Reporter

Matthias Eichner

Labels

None

URL

None

External issue ID

None

Fix versions

Priority

High
Configure