|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.share.error.CompositeErrorLog
Errorlog that delegates to two other error logs.
Fields inherited from interface oracle.cabo.share.error.ErrorLog |
VERBOSITY_DEBUG, VERBOSITY_ERROR, VERBOSITY_INFO, VERBOSITY_NONE, VERBOSITY_WARNING |
Constructor Summary | |
CompositeErrorLog(ErrorLog log1,
ErrorLog log2)
Creates an ErrorLog that delegates to two other ErrorLogs. |
Method Summary | |
java.lang.Throwable[] |
getLoggedErrors()
Returns an array of all logged errors. |
boolean |
isErrorPresent()
Returns true if any errors have been logged. |
void |
log(java.lang.String message,
java.lang.Throwable t,
int level)
Records a message and error on the log with a specific verbosity level. |
void |
logError(java.lang.Throwable t)
Records a Throwable, and sends it to the log. |
void |
logMessage(java.lang.String s)
Sends a string message to the log. |
boolean |
matchesVerbosity(int level)
Returns true if the given verbosity level would result in a message being logged. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CompositeErrorLog(ErrorLog log1, ErrorLog log2)
At least one of log1
or log2
must be non-null.
Method Detail |
public boolean isErrorPresent()
isErrorPresent
in interface ErrorLog
public java.lang.Throwable[] getLoggedErrors()
getLoggedErrors
in interface ErrorLog
public void logMessage(java.lang.String s)
logMessage
in interface ErrorLog
public void logError(java.lang.Throwable t)
logError
in interface ErrorLog
public void log(java.lang.String message, java.lang.Throwable t, int level)
log
in interface ErrorLog
public boolean matchesVerbosity(int level)
matchesVerbosity
in interface ErrorLog
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |