2626import org .slf4j .Logger ;
2727import org .slf4j .LoggerFactory ;
2828import org .spdx .core .DefaultModelStore ;
29- import org .spdx .core .DefaultStoreNotInitialized ;
29+ import org .spdx .core .DefaultStoreNotInitializedException ;
3030import org .spdx .core .IModelCopyManager ;
3131import org .spdx .core .InvalidSPDXAnalysisException ;
3232import org .spdx .library .model .v2 .license .InvalidLicenseStringException ;
@@ -92,10 +92,10 @@ public static SpdxListedLicense getListedLicenseByIdCompatV2(String licenseId)th
9292 * @param copyManager allows for copying of any properties set which use other model stores or document URI's. If null, the default will be used.
9393 * @return an SPDXLicenseInfo created from the string
9494 * @throws InvalidLicenseStringException if the license string is not valid
95- * @throws DefaultStoreNotInitialized if the default model store is not initialized
95+ * @throws DefaultStoreNotInitializedException if the default model store is not initialized
9696 */
9797 public static org .spdx .library .model .v2 .license .AnyLicenseInfo parseSPDXLicenseStringCompatV2 (String licenseString , @ Nullable IModelStore store ,
98- @ Nullable String documentUri , @ Nullable IModelCopyManager copyManager ) throws InvalidLicenseStringException , DefaultStoreNotInitialized {
98+ @ Nullable String documentUri , @ Nullable IModelCopyManager copyManager ) throws InvalidLicenseStringException , DefaultStoreNotInitializedException {
9999 if (Objects .isNull (store )) {
100100 store = DefaultModelStore .getDefaultModelStore ();
101101 }
@@ -136,11 +136,11 @@ public static org.spdx.library.model.v2.license.AnyLicenseInfo parseSPDXLicenseS
136136 * @param customIdToUri Mapping of the id prefixes used in the license expression to the namespace preceding the external ID
137137 * @return an SPDXLicenseInfo created from the string
138138 * @throws InvalidLicenseStringException if the license string is not valid
139- * @throws DefaultStoreNotInitialized if the default model store is not initialized
139+ * @throws DefaultStoreNotInitializedException if the default model store is not initialized
140140 */
141141 public static AnyLicenseInfo parseSPDXLicenseString (String licenseString , @ Nullable IModelStore store ,
142142 @ Nullable String customLicensePrefix , @ Nullable IModelCopyManager copyManager ,
143- @ Nullable List <DictionaryEntry > customIdToUri ) throws InvalidLicenseStringException , DefaultStoreNotInitialized {
143+ @ Nullable List <DictionaryEntry > customIdToUri ) throws InvalidLicenseStringException , DefaultStoreNotInitializedException {
144144 if (Objects .isNull (store )) {
145145 store = DefaultModelStore .getDefaultModelStore ();
146146 }
@@ -175,9 +175,9 @@ public static AnyLicenseInfo parseSPDXLicenseString(String licenseString, @Nulla
175175 * @param licenseString String conforming to the syntax
176176 * @return an SPDXLicenseInfo created from the string
177177 * @throws InvalidLicenseStringException if the license string is not valid
178- * @throws DefaultStoreNotInitialized if the default model store is not initialized
178+ * @throws DefaultStoreNotInitializedException if the default model store is not initialized
179179 */
180- public static AnyLicenseInfo parseSPDXLicenseString (String licenseString ) throws InvalidLicenseStringException , DefaultStoreNotInitialized {
180+ public static AnyLicenseInfo parseSPDXLicenseString (String licenseString ) throws InvalidLicenseStringException , DefaultStoreNotInitializedException {
181181 return parseSPDXLicenseString (licenseString , null , null , null , null );
182182 }
183183
@@ -196,9 +196,9 @@ public static AnyLicenseInfo parseSPDXLicenseString(String licenseString) throws
196196 * @param licenseString String conforming to the syntax
197197 * @return an SPDXLicenseInfo created from the string
198198 * @throws InvalidLicenseStringException On invalid license expression
199- * @throws DefaultStoreNotInitialized On the model store not being initialized - see DefaultModelStore in SPDX core package
199+ * @throws DefaultStoreNotInitializedException On the model store not being initialized - see DefaultModelStore in SPDX core package
200200 */
201- public static org .spdx .library .model .v2 .license .AnyLicenseInfo parseSPDXLicenseStringCompatV2 (String licenseString ) throws InvalidLicenseStringException , DefaultStoreNotInitialized {
201+ public static org .spdx .library .model .v2 .license .AnyLicenseInfo parseSPDXLicenseStringCompatV2 (String licenseString ) throws InvalidLicenseStringException , DefaultStoreNotInitializedException {
202202 return parseSPDXLicenseStringCompatV2 (licenseString , null , null , null );
203203 }
204204
0 commit comments