← Prev in month ← Prev in thread

JAVA-1: NoSuchDomainException

From
Simon Nash <>
Date
2009-06-30T09:53:14+00:00
ID
Thread
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
← Prev in month ← Prev in thread