riAddressFactory = riSipFactory.createAddressFactory(); if (riAddressFactory == null) { throw new TckInternalError("could not create RI Address Factory -- check class path"); } riHeaderFactory = riSipFactory.createHeaderFactory(); if (riHeaderFactory == null) { throw new TckInternalError("could not create RI Header Factory -- check class path"); } riMessageFactory = riSipFactory.createMessageFactory(); if (riMessageFactory == null) { throw new TckInternalError("Cold not create RI Message Factory -- check class path"); }
riAddressFactory = tiSipFactory.createAddressFactory(); riHeaderFactory = tiSipFactory.createHeaderFactory(); riMessageFactory = tiSipFactory.createMessageFactory();
	void getRIFactories() {		try {			riSipFactory = SipFactory.getInstance();			if (riSipFactory == null) {				throw new TckInternalError("could not get SipFactory");			}			String path = "gov.nist";			riSipFactory.setPathName(path);			riAddressFactory = riSipFactory.createAddressFactory();			if (riAddressFactory == null) {				throw new TckInternalError("could not create RI Address Factory -- check class path");			}			riHeaderFactory = riSipFactory.createHeaderFactory();			if (riHeaderFactory == null) {				throw new TckInternalError("could not create RI Header Factory -- check class path");			}			riMessageFactory = riSipFactory.createMessageFactory();			if (riMessageFactory == null) {				throw new TckInternalError("Cold not create RI Message Factory -- check class path");			}		} catch (Exception ex) {			throw new TckInternalError("Could not get factories");		}	}