Package javax.jdo

Examples of javax.jdo.JDOFatalUserException


            Class cls = javax.jdo.PersistenceManager.class;
            cls.getMethod("detachCopy",new Class[]{Object.class});
        }
        catch (SecurityException e)
        {
            throw new JDOFatalUserException(LOCALISER_JDO.msg("012003"));
        }
        catch (NoSuchMethodException e)
        {
            throw new JDOFatalUserException(LOCALISER_JDO.msg("012003"));
        }
    }
View Full Code Here


     */
    protected void assertIsOpen()
    {
        if (isClosed())
        {
            throw new JDOFatalUserException(LOCALISER_JDO.msg("011000"));
        }
    }
View Full Code Here

            {
                if (jpe.getNestedExceptions() != null)
                {
                    if (jpe.getFailedObject() != null)
                    {
                        return new JDOFatalUserException(jpe.getMessage(), jpe.getNestedExceptions(), jpe.getFailedObject());
                    }
                    return new JDOFatalUserException(jpe.getMessage(), jpe.getNestedExceptions());
                }
                else if (jpe.getFailedObject() != null)
                {
                    return new JDOFatalUserException(jpe.getMessage(), jpe.getFailedObject());
                }
                else
                {
                    return new JDOFatalUserException(jpe.getMessage(), jpe);
                }
            }
            else
            {
                if (jpe.getNestedExceptions() != null)
View Full Code Here

        {
            myPC.jdoReplaceStateManager(sm);
        }
        catch (SecurityException e)
        {
            throw new JDOFatalUserException(LOCALISER.msg("026000"), e);
        }
    }
View Full Code Here

                }
            });
        }
        catch (SecurityException e)
        {
            throw new JDOFatalUserException(LOCALISER.msg("026000"), e);
        }
    }
View Full Code Here

     * @return the <code>Meta</code> for the <code>Class</code>.
     */   
    private static Meta getMeta (Class pcClass) {
        Meta ret = (Meta) registeredClasses.get (pcClass);
        if (ret == null) {
            throw new JDOFatalUserException(
                msg.msg ("ERR_NoMetadata", pcClass.getName())); //NOI18N
        }
        return ret;
    }
View Full Code Here

     * @return the <code>Meta</code> for the <code>Class</code>.
     */   
    private static Meta getMeta (Class pcClass) {
        Meta ret = (Meta) registeredClasses.get (pcClass);
        if (ret == null) {
            throw new JDOFatalUserException(
                msg.msg ("ERR_NoMetadata", pcClass.getName())); //NOI18N
        }
        return ret;
    }
View Full Code Here

     * @return the <code>Meta</code> for the <code>Class</code>.
     */   
    private static Meta getMeta (Class pcClass) {
        Meta ret = (Meta) registeredClasses.get (pcClass);
        if (ret == null) {
            throw new JDOFatalUserException(
                msg.msg ("ERR_NoMetadata", pcClass.getName())); //NOI18N
        }
        return ret;
    }
View Full Code Here

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

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