265266267268269270271272273274275
try { return new FieldAccessor(objectClass, propertyName, propertyType); } catch (Throwable th) { throw new PropertyAccessException("Can't create accessor for property '" + propertyName + "' of class '" + objectClass.getName() + "'", null, null); }
312313314315316317318319320321
if (context != null) { context.prepareForAccess(persistent, getName()); } } catch (ClassCastException e) { throw new PropertyAccessException("Object is not a Persistent: '" + object.getClass().getName() + "'", this, object, e); } }