|
Oracle Data-aware Controls Reference | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.dacf.util.errormanager.ErrorLoggerAdapter
oracle.dacf.util.errorloggers.StdErrorLogger
The
The
StdErrorLogger errlog = new StdErrorLogger();
try
{
ErrorManager.addErrorLogger(errlog);
}
catch (NameAlreadyRegisteredException e)
{
System.err.println("A Logger with this
name is already registered.");
return;
}
……………..
……………..
……………..
ErrorManager.removeErrorLogger( errlog);
ErrorLogger,
ErrorLoggerAdapter| Field Summary | |
protected static java.lang.String |
BEGIN_ERROR
|
protected static java.lang.String |
END_ERROR
|
static java.lang.String |
NAME
String returned by the getName() method. |
| Constructor Summary | |
StdErrorLogger()
|
|
| Method Summary | |
protected void |
_printErrorAttribute(ErrorAttribute ea)
Prints the error attribute's label and description, separated by a colon, to stderr. |
void |
addError(ErrorMessage emsg)
When adding an error, the error severity, message text, and time stamp will be written to stderr. |
java.lang.String |
getName()
Returns the unique name of this error logger. |
| Methods inherited from class oracle.dacf.util.errormanager.ErrorLoggerAdapter |
findAllErrors, findErrors, findErrors, isBuffered, removeAllErrors, removeError |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String NAME
protected static java.lang.String BEGIN_ERROR
protected static java.lang.String END_ERROR
| Constructor Detail |
public StdErrorLogger()
| Method Detail |
public void addError(ErrorMessage emsg)
addError in interface ErrorLoggeraddError in class ErrorLoggerAdapteremsg - the error message.public java.lang.String getName()
protected void _printErrorAttribute(ErrorAttribute ea)
ea - the error attribute you want printed.
|
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.