if (e.getCause() instanceof AsdcCatalogException) {
throw (AsdcCatalogException) e.getCause();
} else if (e.getCause() instanceof NullServiceModelException) {
if (e.getCause() instanceof AsdcCatalogException) {
throw (AsdcCatalogException) e.getCause();
} else if (e.getCause() instanceof NullServiceModelException) {
try {
return toscaParser.makeServiceModel(serviceCsar, asdcServiceMetadata);
} catch (SdcToscaParserException e) {
try {
return toscaParser.makeServiceModel(serviceCsar, asdcServiceMetadata);
} catch (SdcToscaParserException e) {