Business Components

oracle.jbo
Class TooManyObjectsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.jbo.JboException
                          |
                          +--oracle.jbo.TooManyObjectsException

public class TooManyObjectsException
extends JboException

Thrown when more objects than expected are found.

This usually indicates that an Entity Object row has a duplicate primary key, and can occur in these situations:

Since:
JDeveloper 3.0
See Also:
Serialized Form

Constructor Summary
TooManyObjectsException(Key primaryKey)
          Constructs a new instance.
 
Methods inherited from class oracle.jbo.JboException
addToDetails, getBaseMessage, getDetailMessage, getDetails, getErrorCode, getErrorParameters, getJboExceptionHelper, getLocalizedBaseMessage, getLocalizedMessage, getMessage, getProductCode, getResourceClass, getResourceName, getTypeNameFromId, isLocalizable, printStackTrace, printStackTrace, printStackTrace, setApplicationModule, setDetails, setErrorParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TooManyObjectsException

public TooManyObjectsException(Key primaryKey)
Constructs a new instance.
Parameters:
primaryKey - the primary key of the entity row which caused the conflict.

Business Components