Exception Handling Issue

The exception is not being logged and not even thrown in QueryContainer.java.Please check the Code below

public synchronized Property getContainerProperty(Object itemId,
Object propertyId) {
if (!(itemId instanceof Integer && propertyId instanceof String))
return null;
Object value;
try {
result.absolute(((Integer) itemId).intValue());
value = result.getObject((String) propertyId);
} catch (Exception e) {
return null;

// Handle also null values from the database
return new ObjectProperty(value != null ? value : new String(“”));

The whole class needs to be refactored, it does not pass quality standards but we decided to add the class into our release in any case because there are customers that use it.

See also
Closing of Connection Isssue