[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: JAVA-1: NoSuchDomainException
On the call yesterday, the comment was made that the "throws NoSuchDomainException" clause on getService() should be moved to newInstance(). On further reflection, I think this needs to be on both methods. This is because SCAClientFactory implementations could choose to check that the domain exists either when newInstance() is called or when getService() is called. Also, even if an implementation does check when newInstance() is called, the domain may no longer exist when getService() is called. Simon
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]