Hi All,

I'm building an app to allow me to browse through the database structure, at
present using the code and database as supplied in the Core-1.0b4 version.
However for some collections I get the following exception when I try and
see if they have any resources:

org.xmldb.api.base.XMLDBException: Collection No IndexManager
        at
org.dbxml.core.FaultCodes.createXMLDBException(FaultCode.java:230)
        at
org.dbxml.client.xmldb.CollectionImpl.getResourceCount(CollectionImpl.java:3
47)

This happens for collection such as /db, which I wouldn't expect to have any
resources - but is there a way to test for this rather than catching the
exception and ignoring it?

TIA Jackson

************
This email and any accompanying documents are intended only for the named 
recipient, are confidential and may be privileged. If you are not the intended 
recipient please notify us immediately by mailto:[EMAIL PROTECTED] and you must 
not copy, disclose or otherwise use this message. Unauthorised use is strictly 
prohibited and may be unlawful. The content of this email represents the view 
of the individual and not the company. The company reserves the right to 
monitor the content of all emails in accordance with lawful business practice.

Whilst attachments are virus checked before transmission, Britannic Assurance 
plc does not accept any liability in respect of any virus which is not detected.

Britannic Assurance plc, No.3002 is registered in England and maintains its 
registered office at 1 Wythall Green Way, Wythall, Birmingham B47 6WG.
Telephone: 0870 887 0001
Fax: 0870 887 0002
Website: www.britannicassurance.com

Britannic Assurance plc, Britannic Unit Linked Assurance Limited, Britannic ISA 
Managers Limited and Britannic Unit Trust Managers Limited are regulated by the 
Financial Services Authority. Each of these companies is a member of the 
Britannic marketing group which only advises on and sells its own life 
assurance, pension, unit trust and ISA products.
************

Reply via email to