Examples of abort()


Examples of org.odmg.Transaction.abort()

            database.bind(example, name);
            tx.commit();
        }
        catch (ObjectNameNotUniqueException ex)
        {
            tx.abort();
            fail(ex.getMessage());
        }

        // 2. perform unbind
        tx = odmg.newTransaction();
View Full Code Here

Examples of org.ofbiz.workflow.WfActivity.abort()

        // cancel the active activities
        Iterator activities = this.activeSteps().iterator();
        while (activities.hasNext()) {
            WfActivity activity = (WfActivity) activities.next();
            activity.abort();
        }
    }

    /**
     * @see org.ofbiz.workflow.WfProcess#start()
View Full Code Here

Examples of org.ofbiz.workflow.WfProcess.abort()

     * @param workEffortId The workeffort entity key for the process to abort
     * @throws WfException
     */
    public void abortProcess(String workEffortId) throws WfException {
        WfProcess process = WfFactory.getWfProcess(delegator, workEffortId);
        process.abort();
    }

    /**
     * Append data to the execution object's process context.
     * @param workEffortId The WorkEffort entity key for the execution object.
View Full Code Here

Examples of org.photovault.dbhelper.ODMGXAWrapper.abort()

            query.create( oql );
            profiles = (List) query.execute();
            txw.commit();
        } catch (Exception e ) {
            log.warn( "Error fetching record: " + e.getMessage() );
            txw.abort();
            return null;
        }
        if ( profiles.size() == 0 ) {
            return null;
        }
View Full Code Here

Examples of org.tmatesoft.svn.core.internal.io.fs.FSDeltaConsumer.abort()

                    }
                    fsConsumer.textDeltaEnd(myCurrentNodeBaton.myPath);
                }
            }
        } catch (SVNException svne) {
            fsConsumer.abort();
            throw svne;
        }
    }

    public void removeNodeProperties() throws SVNException {
View Full Code Here

Examples of org.vfny.geoserver.Response.abort()

            serviceResponse.execute(serviceRequest);
            LOGGER.finer("execution succeed");
        } catch (ServiceException serviceException) {
            LOGGER.warning("service exception while executing request: "
                + serviceRequest + "\ncause: " + serviceException.getMessage());
            serviceResponse.abort(s);
            sendError(response, serviceException);

            return;
        } catch (Throwable t) {
            //we can safelly send errors here, since we have not touched response yet
View Full Code Here

Examples of se.unlogic.standardutils.dao.TransactionHandler.abort()

      transactionHandler.commit();

    }catch(Throwable e){

      transactionHandler.abort();
     
      throw e;
    }
  }
}
View Full Code Here

Examples of sun.awt.image.ImageRepresentation.abort()

            availinfo &= ~ImageObserver.ERROR;
            ir = imagerep;
            imagerep = null;
        }
        if (ir != null) {
            ir.abort();
        }
        if (src != null) {
            src.flush();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.