Examples of JPOXException


Examples of org.jpox.exceptions.JPOXException

     * @param currentValue the current value of the field
     * @return the new value for the field
     */
    public Object getObjectField(PersistenceCapable pc, int field, Object currentValue)
    {
        throw new JPOXException(LOCALISER.msg("026006"));
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     **/
    protected void checkInitialised()
    {
        if (!isInitialised())
        {
            throw new JPOXException(LOCALISER.msg("044069",fullName)).setFatal();
        }
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     **/
    protected void checkPopulated()
    {
        if (!isPopulated() && !isInitialised())
        {
            throw new JPOXException(LOCALISER.msg("044070",fullName)).setFatal();
        }
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

                    }
                }
            }
            catch (InstantiationException e)
            {
                throw new JPOXException(e.toString(),e).setFatal();
            }
            catch (IllegalAccessException e)
            {
                throw new JPOXException(e.toString(),e).setFatal();
            }
            catch (ClassNotFoundException e)
            {
                // Implementation creator not present maybe
                JPOXLogger.PERSISTENCE.warn(LOCALISER.msg("008006", implCreatorName));
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

                    "org.jpox.metadata_manager", new String[]{"name"}, new String[]{apiName},
                    "class", new Class[] {OMFContext.class}, new Object[]{this});
            }
            catch (Exception e)
            {
                throw new JPOXException(LOCALISER.msg("008010", apiName, e.getMessage()), e);
            }
            if (metaDataManager == null)
            {
                throw new JPOXException(LOCALISER.msg("008009", apiName));
            }
        }

        return metaDataManager;
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     * @param exprIndex the position of the value in the statement
     * @param value the value
     */
    public void setBoolean(ObjectManager om, Object datastoreStatement, int[] exprIndex, boolean value)
    {
        throw new JPOXException(failureMessage("setBoolean")).setFatal();
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     * @param exprIndex the position of the value in the result
     * @return the value
     */
    public boolean getBoolean(ObjectManager om, Object datastoreResults, int[] exprIndex)
    {
        throw new JPOXException(failureMessage("setBoolean")).setFatal();
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     * @param exprIndex the position of the value in the statement
     * @param value the value
     */
    public void setChar(ObjectManager om, Object datastoreStatement, int[] exprIndex, char value)
    {
        throw new JPOXException(failureMessage("setChar")).setFatal();
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     * @param exprIndex the position of the value in the result
     * @return the value
     */
    public char getChar(ObjectManager om, Object datastoreResults, int[] exprIndex)
    {
        throw new JPOXException(failureMessage("getChar")).setFatal();
    }
View Full Code Here

Examples of org.jpox.exceptions.JPOXException

     * @param exprIndex the position of the value in the statement
     * @param value the value
     */
    public void setByte(ObjectManager om, Object datastoreStatement, int[] exprIndex, byte value)
    {
        throw new JPOXException(failureMessage("setByte")).setFatal();
    }
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.