|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
| 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.JboException
oracle.jbo.ValidationException
Indicates a validation failure. This class may be extended to provide localizable exceptions to arbitrary bundle classes.
| Field Summary | |
protected java.lang.String |
mRowDefFullName
|
| Fields inherited from class oracle.jbo.JboException |
mHasPeerException |
| Constructor Summary | |
ValidationException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
Creates a localizable exception. |
|
ValidationException(java.lang.String message)
Create a non-formattable exception. |
|
ValidationException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] params)
Creates a formattable but non-localizable exception. |
|
| Method Summary | |
ValidationException |
getAttributeException(java.lang.String rowDefName,
java.lang.String attrName)
|
java.lang.String |
getRowDefFullName()
Returns the full name of the definition object of the Row that this exception was raised in. |
boolean |
hasAttributeException(java.lang.String attrName)
|
static void |
raise(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
com.sun.java.util.collections.ArrayList details)
Creates a localizable exception. |
static void |
raise(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
com.sun.java.util.collections.ArrayList details,
boolean peer,
boolean voEx)
Creates a localizable exception. |
static void |
raise(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
java.util.Vector details)
Creates a localizable exception. |
protected void |
setRowDefFullName(java.lang.String objFullName)
|
| 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 |
| Field Detail |
protected java.lang.String mRowDefFullName
| Constructor Detail |
public ValidationException(java.lang.String message)
message - the text of the message.
public ValidationException(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params)
resBundleClass - a resource bundle.errorCode - an error or message code.params - an array of parameters for the formatted message.
public ValidationException(java.lang.String msg,
java.lang.String errorCode,
java.lang.Object[] params)
msg - the unformatted text of the message.errorCode - an error code.params - the error message's parameters.| Method Detail |
public static void raise(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
com.sun.java.util.collections.ArrayList details)
resBundleClass - a resource bundle.errorCode - an error or message code.params - an array of parameters for the formatted message.details - a detail list of exceptions
public static void raise(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
java.util.Vector details)
resBundleClass - a resource bundle.errorCode - an error or message code.params - an array of parameters for the formatted message.details - a detail list of exceptions
public static void raise(java.lang.Class resBundleClass,
java.lang.String errorCode,
java.lang.Object[] params,
com.sun.java.util.collections.ArrayList details,
boolean peer,
boolean voEx)
resBundleClass - a resource bundle.errorCode - an error or message code.params - an array of parameters for the formatted message.details - a detail list of exceptionspeer - indicates if this exception's peer status to be marked.voEx - indicates if this exception is a ViewLevel Exception.public java.lang.String getRowDefFullName()
public ValidationException getAttributeException(java.lang.String rowDefName,
java.lang.String attrName)
public boolean hasAttributeException(java.lang.String attrName)
protected void setRowDefFullName(java.lang.String objFullName)
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2004, Oracle. All rights reserved.