//javaCode
if (isMaterialTypeDuplicate(materialType)) throw new MultimediaException("name_" + MultimediaException.DUPLICATE_ERROR);
//M class