|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.jbo.JboWarning
oracle.jbo.JboException
oracle.jbo.ValidationException
oracle.jbo.RowValException
public class RowValException
Indicates that validation of a business object has failed.
Field Summary |
---|
Fields inherited from class oracle.jbo.ValidationException |
---|
mRowDefFullName |
Fields inherited from class oracle.jbo.JboException |
---|
mHasPeerException |
Fields inherited from class oracle.jbo.JboWarning |
---|
mHelper, SEVERITY_ERROR, SEVERITY_RAC_RECOVERABLE_ERROR, SEVERITY_RECOVERABLE_ERROR, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING |
Constructor Summary | |
---|---|
protected |
RowValException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
Creates a localizable exception. |
|
RowValException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.String objName,
Key key,
java.util.ArrayList exceptions)
|
|
RowValException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.String objName,
Key key,
java.util.ArrayList exceptions,
boolean peer)
|
|
RowValException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.String objName,
Key key,
AttributeDef[] keyCols)
Creates an exception to be localized using a given message bundle and error code. |
|
RowValException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.String objName,
Key key,
AttributeDef[] keyCols,
java.lang.String methodName)
Creates an exception to be localized using a given message bundle and error code. |
protected |
RowValException(int objType,
java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.String objName,
Key key,
java.util.ArrayList exceptions,
boolean peer)
|
|
RowValException(ResourceBundleDef resBundleDef,
java.lang.String errorCode,
java.lang.String objName,
Key key,
AttributeDef[] keyCols,
java.lang.String methodName)
Creates an exception to be localized using a given message bundle and error code. |
Method Summary | |
---|---|
void |
doEntityToVOMapping(ApplicationModule rootAm,
ViewObject[] vos)
|
java.lang.String |
getObjName()
|
int |
getObjType()
|
java.lang.String |
getObjTypeName()
|
Key |
getRowKey()
|
protected void |
initDefName(java.lang.String objName,
boolean errParam)
|
void |
setErrorParameters(java.lang.Object[] params)
Override so that when custom messages are created for validation, the caller can set evaluated parmeters for the message. |
void |
setRowKey(Key key)
|
Methods inherited from class oracle.jbo.ValidationException |
---|
getAttributeException, getRowDefFullName, hasAttributeException, raise, raise, raise, raiseWithNamedParameters, setErrorParametersMap, setRowDefFullName |
Methods inherited from class oracle.jbo.JboException |
---|
addToDetails, addToExceptions, containsException, getExceptions, getSource, hasPeerExceptions, needsEntityToVOMapping, printStackTrace, printStackTrace, printStackTrace, setApplicationModule, setDetails, setExceptions, setNeedsEntityToVOMapping, setSource |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected RowValException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.Object[] params)
resBundleDef
- a ResourceBundleDef.errorCode
- an error or message code.params
- an array of parameters for the formatted message.public RowValException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.String objName, Key key, java.util.ArrayList exceptions)
public RowValException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.String objName, Key key, java.util.ArrayList exceptions, boolean peer)
protected RowValException(int objType, java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.String objName, Key key, java.util.ArrayList exceptions, boolean peer)
public RowValException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.String objName, Key key, AttributeDef[] keyCols)
resBundleClass
- the message bundle.errorCode
- the error code.objName
- the object's name, the first message parameter.key
- the object's key, the second message parameter.public RowValException(java.lang.Class resBundleClass, java.lang.String errorCode, java.lang.String objName, Key key, AttributeDef[] keyCols, java.lang.String methodName)
resBundleClass
- the message bundle.errorCode
- the error code.objName
- the object's name, the first message parameter.key
- the object's key, the second message parameter.methodName
- ???.public RowValException(ResourceBundleDef resBundleDef, java.lang.String errorCode, java.lang.String objName, Key key, AttributeDef[] keyCols, java.lang.String methodName)
resBundleDef
- a ResourceBundleDef.errorCode
- the error code.objName
- the object's name, the first message parameter.key
- the object's key, the second message parameter.methodName
- ???.Method Detail |
---|
protected void initDefName(java.lang.String objName, boolean errParam)
public void setRowKey(Key key)
public Key getRowKey()
public void setErrorParameters(java.lang.Object[] params)
setErrorParameters
in class ValidationException
public int getObjType()
public java.lang.String getObjTypeName()
public java.lang.String getObjName()
public void doEntityToVOMapping(ApplicationModule rootAm, ViewObject[] vos)
doEntityToVOMapping
in class JboException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |