|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
oracle.dacf.dataset.ValidationException
This exception is thrown by ValidationListener in response to a ValidationEvent to indicate that the item included in the event is invalid.
| Constructor Summary | |
ValidationException(java.lang.String s,
int reason)
Constructs a default ValidationException object. |
|
ValidationException(java.lang.String s,
int reason,
boolean continueNavigation)
Constructs ValidationException object. |
|
| Method Summary | |
boolean |
getContinueNavigation()
Get the continueNavigation value |
int |
getReason()
Get the reason for generating this exception |
void |
setContinueNavigation(boolean continueNavigation)
Set the continueNavigation flag to the new value |
void |
setReason(int reason)
Set the reason for generating this exception |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValidationException(java.lang.String s,
int reason)
s - Detail message describing the exceptionreason - Reason for raising this exception.
public ValidationException(java.lang.String s,
int reason,
boolean continueNavigation)
s - Detail message describing the exceptionreason - Reason for raising this exception.continueNavigation - set to true if navigation should
continue else false| Method Detail |
public final void setContinueNavigation(boolean continueNavigation)
continueNavigation - true if navigation should
continue else falsepublic final boolean getContinueNavigation()
public final int getReason()
public final void setReason(int reason)
throws java.lang.IllegalArgumentException
reason - The reason code
java.lang.IllegalArgumentException - Reason code should be between
ValidationManager.COLUMN_INVALID to
ValidationManager.SESSION_INVALID
|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2003, Oracle. All rights reserved.