PhoenixmlDb.Core

XmlDbException

Base exception for all PhoenixmlDb errors. Catch this type to handle any database-related error in a single handler.

#XmlDbException

Namespace: PhoenixmlDb.Core

Base exception for all PhoenixmlDb errors. Catch this type to handle any database-related error in a single handler.

All PhoenixmlDb exceptions derive from XmlDbException, making it the broadest catch target for database operations. In production code, prefer catching the specific derived exceptions (e.g., ContainerNotFoundException, XQueryException) to handle each failure mode appropriately, and use XmlDbException only as a fallback.

#See also