Package javax.jdo

Examples of javax.jdo.JDOFatalUserException


    public boolean getIgnoreCache()
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("getIgnoreCache()"));
        }
        return m_ignoreCache;
    }
View Full Code Here


     */
    public void close()
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("close()"));
        }
        if (m_tx.isActive()) m_tx.rollback();
        m_conn.close();
    }
View Full Code Here

     */
    public void evict(Object o)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("evict(Object)"));
        }
        if (null != o)
        {
            try
            {
View Full Code Here

    public void evictAll(Object[] objects)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("evictAll(Object[])"));
        }
        if (null == objects)
        {
            throw new NullPointerException("evictAll(Object[]) was passed a null Array.");
        }
View Full Code Here

    public void evictAll(Collection collection)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("evictAll(Collection)"));
        }
        if (null == collection)
        {
            throw new NullPointerException("evictAll(Collection) was passed a null Collection.");
        }
View Full Code Here

    public void evictAll()
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("evictAll()"));
        }
        EditingContext ctx = m_conn.getEditingContext();
        if (ctx != null)
        {
            for (Iterator i = ctx.getAllObjectsInContext().iterator(); i.hasNext();)
View Full Code Here

    public void refresh(Object o)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("refresh(Object)"));
        }
        m_conn.refresh(o);
        if (o instanceof InstanceCallbacks)
        {
            ((InstanceCallbacks) o).jdoPostLoad();
View Full Code Here

    public void refreshAll(Object[] objects)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("refreshAll(Object[])"));
        }
        if (null == objects)
        {
            throw new NullPointerException("refreshAll(Object[]) was passed a null Array.");
        }
View Full Code Here

    public void refreshAll(Collection collection)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("refreshAll(Collection)"));
        }
        if (null == collection)
        {
            throw new NullPointerException("refreshAll(Collection) was passed a null Collection.");
        }
View Full Code Here

    public void refreshAll()
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("refreshAll()"));
        }
        if (currentTransaction().isActive())
        {
            Collection collection = m_conn.getEditingContext().getAllObjectsInContext();
            Iterator it = collection.iterator();
View Full Code Here

TOP

Related Classes of javax.jdo.JDOFatalUserException

Copyright © 2018 www.massapicom. 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.