Package nexj.core.runtime

Examples of nexj.core.runtime.DataVolumeException


                  nCount = m_nMaxCount;
               }

               if (nCount > m_nLimit && m_nLimit > 0 && nMaxCount < 0)
               {
                  throw new DataVolumeException("err.persistence.instanceCount",
                     new Object[]{m_query.getMetaclass().getName(), Primitive.createInteger(m_nLimit)});
               }

               for (int i = m_nTotalCount; --nCount >= 0; ++i)
               {
                  m_instanceList.add(m_cachedInstanceList.getInstance(i), InstanceList.DIRECT);
               }
            }
         }
      }
      else
      {
         while (internalStep(bDiscardExtra) && !bStep)
         {
            int nCount = m_instanceList.getCount();

            if (nCount > m_nLimit && m_nLimit > 0 && nMaxCount < 0)
            {
               throw new DataVolumeException("err.persistence.instanceCount",
                  new Object[]{m_query.getMetaclass().getName(), Primitive.createInteger(m_nLimit)});
            }
         }
      }
View Full Code Here


      int nLimit = getLimit();

      if (m_nMaxCount > nLimit && nLimit > 0)
      {
         throw new DataVolumeException("err.persistence.maxCount",
            new Object[]{Primitive.createInteger(m_nMaxCount), m_metaclass.getName(),
               Primitive.createInteger(nLimit)});
      }

      m_bCursor = false;
View Full Code Here

TOP

Related Classes of nexj.core.runtime.DataVolumeException

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.