Tabnine Logo
JDOObjectNotFoundException
Code IndexAdd Tabnine to your IDE (free)

How to use
JDOObjectNotFoundException
in
javax.jdo

Best Java code snippets using javax.jdo.JDOObjectNotFoundException (Showing top 12 results out of 315)

origin: tzaeschke/zoodb

@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;
}
origin: springframework/spring-orm

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);
}
origin: tzaeschke/zoodb

assertTrue(t12 == e2.getFailedObject());
origin: jpox/jpox

throw new JDOObjectNotFoundException(LOCALISER.msg("PM.ObjectDoesntExist"), id);
origin: apache/servicemix-bundles

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);
}
origin: jpox/jpox

throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
origin: jpox/jpox

throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
origin: jpox/jpox

throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
origin: jpox/jpox

throw new JDOObjectNotFoundException("No such database row", sm.getInternalObjectId());
origin: jpox/jpox

throw new JDOObjectNotFoundException(LOCALISER.msg("StateManager.ObjectDoesntExist"), myID);
origin: jpox/jpox

throw new JDOObjectNotFoundException(LOCALISER.msg("PM.ObjectDoesntExist"), id);
origin: org.datanucleus/datanucleus-api-jdo

  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});
javax.jdoJDOObjectNotFoundException

Javadoc

This class represents exceptions caused by the user accessing an object that does not exist in the datastore.

Most used methods

  • <init>
    Constructs a new JDOObjectNotFoundException with the specified detail message, nested Throwables, an
  • getFailedObject
  • getMessage

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • setContentView (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Join (org.hibernate.mapping)
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now