### XmlException |

`

###

    import com.sleepycat.dbxml.*;

    public class XmlException extends extends com.sleepycat.db.DbException
    {
        public int getDbError();
        public int getErrorCode();
        public String toString();
    	...
    }

### Description: XmlException

The XmlException class represents an error condition that has occurred within the Berkeley DB XML system. The system throws an XmlException if an API method call results in an error condition. The XmlException class exposes the following methods:

### Description: XmlException.toString

The toString() method returns a description of the exception.

### Description: XmlException.getErrorCode

The getErrorCode() method returns the exception code.

### Description: XmlException.getDbError

The getDbError() method retrieves the Berkeley DB error number for an XmlException with ExceptionCode DATABASE_ERROR.

### Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue`

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.