12.5 Exceptions and Error Codes
Many UCP methods throw the UniversalConnectionPoolException
, with exception chaining supported. You can call the printStackTrace
method on the thrown exception, to identify the root cause of the exception. The UniversalConnectionPoolException
includes standard Oracle error codes that are in the range of 45000 and 45499. The getErrorCode
method can be used to retrieve the error code for an exception.