Uses of Class
org.apache.cayenne.CayenneRuntimeException
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
Cayenne data expression classes.
Contains classes an interfaces related to Cayenne remote object persistence features.
General utility classes.
-
Uses of CayenneRuntimeException in org.apache.cayenne
Modifier and TypeClassDescriptionclass
A runtime exception thrown on failures in Cayenne configuration.class
An exception thrown during an attempt to delete an object that has a relationship to a non-null related object, that has a DENY delete rule.class
A runtime exception thrown when during lazy object initialization Cayenne finds that no matching row exists in the database for a given ObjectId.Modifier and TypeMethodDescriptionValueHolder.getValue()
Returns an object stored by this ValueHolder.ValueHolder.getValueDirectly()
Retrieves ValueHolder value without triggering fault resolution.Sets an object stored by this ValueHolder.ValueHolder.setValueDirectly
(E value) Sets ValueHolder vaue without triggering fault resolution. -
Uses of CayenneRuntimeException in org.apache.cayenne.access
Modifier and TypeClassDescriptionclass
An exception thrown on attempts to access a DataDomain after it was explicitly shut down by the user.class
An exception thrown on optimistic lock failure.Modifier and TypeMethodDescriptionvoid
DataContext.commitChanges()
Synchronizes object graph with the database. -
Uses of CayenneRuntimeException in org.apache.cayenne.configuration
-
Uses of CayenneRuntimeException in org.apache.cayenne.configuration.server
-
Uses of CayenneRuntimeException in org.apache.cayenne.configuration.xml
-
Uses of CayenneRuntimeException in org.apache.cayenne.ejbql
Modifier and TypeClassDescriptionclass
An exception thrown on errors during parsing EJBQL statements. -
Uses of CayenneRuntimeException in org.apache.cayenne.exp
Modifier and TypeClassDescriptionclass
RuntimeException thrown on errors during expressions creation/parsing. -
Uses of CayenneRuntimeException in org.apache.cayenne.reflect
Modifier and TypeClassDescriptionclass
An unchecked exception thrown on errors during property access, either within a Accessor or a Property.class
A runtime exception thrown whenPropertyUtils.getProperty()
finds that there is a null value in middle of the resolved path.Modifier and TypeMethodDescriptionstatic Object
PropertyUtils.getProperty
(Object object, String nestedPropertyName) Returns object property using JavaBean-compatible introspection with one addition - a property can be a dot-separated property name path.static void
PropertyUtils.setProperty
(Object object, String nestedPropertyName, Object value) Sets object property using JavaBean-compatible introspection with one addition - a property can be a dot-separated property name path. -
Uses of CayenneRuntimeException in org.apache.cayenne.remote
Modifier and TypeMethodDescriptionprotected abstract void
BaseConnection.beforeSendMessage
(org.apache.cayenne.remote.ClientMessage message) Called before logging the beginning of message processing.protected abstract Object
BaseConnection.doSendMessage
(org.apache.cayenne.remote.ClientMessage message) The worker method invoked to process message.ClientConnection.getServerEventBridge()
Returns an EventBridge that receives remote server events.BaseConnection.sendMessage
(org.apache.cayenne.remote.ClientMessage message) Invokes 'beforeSendMessage' on self, then invokes 'doSendMessage'.ClientConnection.sendMessage
(org.apache.cayenne.remote.ClientMessage message) Sends a synchronous ClientMessage to the server, returning a reply.protected boolean
ClientChannel.setupRemoteChannelListener()
Starts up an EventBridge to listen for remote updates.ModifierConstructorDescriptionClientChannel
(ClientConnection connection, boolean channelEventsEnabled, EventManager eventManager, boolean remoteEventsOptional) -
Uses of CayenneRuntimeException in org.apache.cayenne.remote.service
Modifier and TypeMethodDescriptionprotected Object
LocalConnection.doSendMessage
(org.apache.cayenne.remote.ClientMessage message) Dispatches a message to an internal handler. -
Uses of CayenneRuntimeException in org.apache.cayenne.rop
Modifier and TypeMethodDescriptionprotected void
HttpClientConnection.beforeSendMessage
(org.apache.cayenne.remote.ClientMessage message) protected EventBridge
HttpClientConnection.createServerEventBridge
(org.apache.cayenne.remote.RemoteSession session) Creates an EventBridge that will listen for server events.protected Object
HttpClientConnection.doSendMessage
(org.apache.cayenne.remote.ClientMessage message) HttpClientConnection.getServerEventBridge()
-
Uses of CayenneRuntimeException in org.apache.cayenne.util
Modifier and TypeMethodDescriptionIndexPropertyList.getValue()
PersistentObjectHolder.getValue()
Returns a value resolving it via a query on the first call to this method.PersistentObjectList.getValue()
PersistentObjectMap.getValue()
PersistentObjectSet.getValue()
IndexPropertyList.getValueDirectly()
PersistentObjectHolder.getValueDirectly()
PersistentObjectList.getValueDirectly()
PersistentObjectMap.getValueDirectly()
PersistentObjectSet.getValueDirectly()
Sets an object value, marking this ValueHolder as resolved.IndexPropertyList.setValueDirectly
(Object value) PersistentObjectHolder.setValueDirectly
(E value) PersistentObjectList.setValueDirectly
(List<E> value) PersistentObjectMap.setValueDirectly
(Object value) PersistentObjectSet.setValueDirectly
(Object value) -
Uses of CayenneRuntimeException in org.apache.cayenne.validation
Modifier and TypeClassDescriptionclass
An exception thrown on unsuccessful validation.