|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
oracle.dacf.dataset.ExceptionProcessorEvent
The ExceptionProcessorEvent is created when the ExceptionProcessor needs to call its listeners and communicate that a particular exception is going to be process for registration with the ErrorManager.
The Severity, Type and UserMessage event properties will be used to create the ErrorMessage that is stored with the ErrorManager.
It is expected that listeners will set the severity, type and UserMessage properties of the event to reflect the importance of the exception and how the exception needs to be displayed to the user.
ErrorManager
,
ErrorMessage
,
ExceptionProcessor
,
ExceptionProcessorListener
,
Serialized FormField Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
|
ExceptionProcessorEvent(java.lang.Object source,
int rowNum,
java.lang.Exception except,
ErrorType type,
ErrorSeverity severity)
|
protected |
ExceptionProcessorEvent(java.lang.Object source,
int rowNum,
java.lang.Exception except,
ErrorType type,
ErrorSeverity severity,
java.lang.String msg)
|
Method Summary | |
java.lang.Exception |
getException()
Sets the Exception property of the ExceptionProcessorEvent. |
int |
getRownum()
Sets the row number property of the ExceptionProcessorEvent. |
ErrorSeverity |
getSeverity()
Returns the severity value for the exception. |
ErrorType |
getType()
Returns the type value for the exception. |
java.lang.String |
getUserMessage()
Returns the message that will be displayed to the user. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExceptionProcessorEvent(java.lang.Object source, int rowNum, java.lang.Exception except, ErrorType type, ErrorSeverity severity)
source
- The source object for the Exception to be processed.rowNum
- The current row, if applicable, when the Exception
occuredexcept
- The Excpetion object being processedtype
- The ErrorMessage typeseverity
- The ErrorMessage severityErrorMessage
protected ExceptionProcessorEvent(java.lang.Object source, int rowNum, java.lang.Exception except, ErrorType type, ErrorSeverity severity, java.lang.String msg)
Method Detail |
public java.lang.Exception getException()
public int getRownum()
public ErrorSeverity getSeverity()
ErrorMessage
,
ErrorManager
public ErrorType getType()
ErrorMessage
,
ErrorManager
public java.lang.String getUserMessage()
The user message is the short text message that will be displayed to the user when the ErrorInspector displayes the ErrorMessage that captures this exception.
ErrorInspector
,
ErrorMessage
|
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.