Skip to content

Enhance the exception catch when license corrupted #52

@LeiYangGH

Description

@LeiYangGH

Currently the library generates license file in xml format.
If the user attempts to edit the license xml(chances are high when trial time ended), but finally corrupted the file to be invalid xml, then License.Load will get uncaught System.Xml.XmlException.
It will be much better if catch the exception and return some type of IValidationFailure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions