Skip to content

Add exception in LicenseFactoryInfo to catch throw in parseSPDXLicenseStringCompatV2 method #270

@gabetrau

Description

@gabetrau

throw new InvalidLicenseStringException("Unexpected SPDX error parsing license string");

Wouldn't it be better to pass the original exception to InvalidLicenseStringException so that the root cause is shown in the stack trace?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions