@Override public Object getObjectById(Object arg0) { DBTracer.logCall(this, arg0); checkOpen(); Object o = nativeConnection.getObjectById(arg0); if (o == null) { throw new JDOObjectNotFoundException("OID=" + Util.oidToString(arg0)); } return o; }
public JdoObjectRetrievalFailureException(JDOObjectNotFoundException ex) { // extract information about the failed object from the JDOException, if available super((ex.getFailedObject() != null ? ex.getFailedObject().getClass() : null), (ex.getFailedObject() != null ? JDOHelper.getObjectId(ex.getFailedObject()) : null), ex.getMessage(), ex); }
assertTrue(t12 == e2.getFailedObject());
throw new JDOObjectNotFoundException(LOCALISER.msg("PM.ObjectDoesntExist"), id);
public JdoObjectRetrievalFailureException(JDOObjectNotFoundException ex) { // Extract information about the failed object from the JDOException, if available. super((ex.getFailedObject() != null ? ex.getFailedObject().getClass() : null), (ex.getFailedObject() != null ? JDOHelper.getObjectId(ex.getFailedObject()) : null), ex.getMessage(), ex); }
throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
throw new JDOObjectNotFoundException(LOCALISER.msg("StateManager.ObjectDoesntExist"), myID);
throw new JDOObjectNotFoundException(LOCALISER.msg("PM.ObjectDoesntExist"), id);
return new JDOObjectNotFoundException(ne.getMessage(), ne.getNestedExceptions(), ne.getFailedObject()); return new JDOObjectNotFoundException(ne.getMessage(), ne, ne.getFailedObject()); return new JDOObjectNotFoundException(ne.getMessage(), ne.getNestedExceptions()); return new JDOObjectNotFoundException(ne.getMessage(), new Throwable[]{ne});