Package javax.jdo

Examples of javax.jdo.JDOFatalUserException


    public Object getObjectById(Object o, boolean validate)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("getObjectById(Object, boolean)"));
        }
        Object retval = null;
        try
        {
            retval = m_conn.getObjectByIdentity((Identity) o);
View Full Code Here


     */
    public Object getObjectId(Object o)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("getObjectId(Object)"));
        }
        return m_conn.getIdentity(o);
    }
View Full Code Here

    public Object getTransactionalObjectId(Object o)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("getTransactionalObjectId(Object)"));
        }
        return m_conn.getIdentity(o);
    }
View Full Code Here

    public Object newObjectIdInstance(Class aClass, String s)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("newObjectIdInstance(Class, String)"));
        }
        return null;
    }
View Full Code Here

    public void makePersistent(Object o)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("makePersistent(Object)"));
        }
        try
        {
            m_conn.makePersistent(o);
        }
View Full Code Here

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

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

    public void deletePersistent(Object o)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("deletePersistent(Object)"));
        }
        try
        {
            m_conn.deletePersistent(o);
        }
View Full Code Here

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

    public void deletePersistentAll(Collection collection)
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(generateIsClosedErrorMessage("deletePersistentAll(Collection)"));
        }
        if (null == collection)
        {
            throw new NullPointerException("deletePersistentAll(Collection) was passed a null Collection.");
        }
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.