Business Components

oracle.jbo
Class BatchDMLException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.jbo.JboException
                          |
                          +--oracle.jbo.DMLException
                                |
                                +--oracle.jbo.BatchDMLException
All Implemented Interfaces:
JboMessage, MetaObjectBase, java.io.Serializable

public class BatchDMLException
extends DMLException

Indicates a failure to post data to a database.

Since:
JDeveloper 3.0
See Also:
Serialized Form

Fields inherited from class oracle.jbo.DMLException
DML_COMMIT, DML_DELETE, DML_INSERT, DML_RELEASE_SAVEPOINT, DML_ROLLBACK, DML_ROLLBACK_TO_SAVEPOINT, DML_SAVEPOINT, DML_UPDATE
 
Fields inherited from class oracle.jbo.JboException
mHasPeerException
 
Fields inherited from interface oracle.jbo.common.MetaObjectBase
TYP_APP_MODULE, TYP_ATTRIBUTE, TYP_COMPONENT_OBJECT, TYP_DEF_ANY, TYP_DEF_APP_MODULE, TYP_DEF_ATTRIBUTE, TYP_DEF_COMPONENT_OBJECT, TYP_DEF_DOMAIN, TYP_DEF_ENTITY_ASSOC, TYP_DEF_ENTITY_OBJECT, TYP_DEF_PACKAGE, TYP_DEF_VIEW_LINK, TYP_DEF_VIEW_OBJECT, TYP_DOMAIN, TYP_ENTITY_ASSOC, TYP_ENTITY_OBJECT, TYP_ENTITY_ROW, TYP_ENTITY_ROW_SET, TYP_ENTITY_ROW_SET_ITERATOR, TYP_ENTITY_USAGE, TYP_PACKAGE, TYP_VALIDATOR_TYPE, TYP_VIEW_LINK, TYP_VIEW_OBJECT, TYP_VIEW_ROW, TYP_VIEW_ROW_SET, TYP_VIEW_ROW_SET_ITERATOR
 
Constructor Summary
BatchDMLException(com.sun.java.util.collections.ArrayList exceptions)
          Creates an exception to be localized using CSMessageBundle and error code EXC_DML_POST_ENTITY.
 
Method Summary
TypeMethod
 Row getEntityRow()
           
 int getEntityRowHandle()
           
 int getOperation()
           
static java.lang.String getOperationString(int operation)
           
 void setEntityRow(Row row)
           
 void setEntityRowHandle(int hdl)
           
 
Methods inherited from class oracle.jbo.JboException
addToDetails, addToExceptions, doEntityToVOMapping, getBaseMessage, getDetailMessage, getDetails, getErrorCode, getErrorParameters, getExceptions, getJboExceptionHelper, getLocalizedBaseMessage, getLocalizedMessage, getMessage, getProductCode, getResourceClass, getResourceName, getTypeNameFromId, hasPeerExceptions, isAppendCodes, isLocalizable, needsEntityToVOMapping, printStackTrace, printStackTrace, printStackTrace, setAppendCodes, setApplicationModule, setDetails, setErrorParameters, setExceptions, setNeedsEntityToVOMapping
 
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

BatchDMLException

public BatchDMLException(com.sun.java.util.collections.ArrayList exceptions)
Creates an exception to be localized using CSMessageBundle and error code EXC_DML_POST_ENTITY.
Parameters:
operation - the attempted operation.
stmt - the DML statement, the first message parameter.
ex - the exception that spawned this exception, to be added to the details list.
Method Detail

getOperation

public int getOperation()
Overrides:
getOperation in class DMLException

getOperationString

public static java.lang.String getOperationString(int operation)

getEntityRowHandle

public int getEntityRowHandle()
Overrides:
getEntityRowHandle in class DMLException

setEntityRowHandle

public void setEntityRowHandle(int hdl)
Overrides:
setEntityRowHandle in class DMLException

getEntityRow

public Row getEntityRow()
Overrides:
getEntityRow in class DMLException

setEntityRow

public void setEntityRow(Row row)
Overrides:
setEntityRow in class DMLException

Business Components