Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.share.error
Class ServletErrorLog

java.lang.Object
  |
  +--oracle.cabo.share.error.BaseErrorLog
        |
        +--oracle.cabo.share.error.ServletErrorLog
All Implemented Interfaces:
ErrorLog

public class ServletErrorLog
extends BaseErrorLog

Implementation of ErrorLog that sends errors to a servlet log.


Fields inherited from interface oracle.cabo.share.error.ErrorLog
VERBOSITY_DEBUG, VERBOSITY_ERROR, VERBOSITY_INFO, VERBOSITY_NONE, VERBOSITY_WARNING
 
Constructor Summary
ServletErrorLog(javax.servlet.ServletContext context)
          Creates a ServletErrorLog.
 
Method Summary
static ErrorLog createErrorLog(javax.servlet.ServletContext context)
          Creates an ErrorLog, accounting for application configuration in setting up the log.
protected  void outputError(java.lang.Throwable t)
          Outputs the throwable to the servlet log.
protected  void outputText(java.lang.String message)
          Outputs text to the servlet log.
 
Methods inherited from class oracle.cabo.share.error.BaseErrorLog
canIgnore, getLoggedErrors, getVerbosityLevel, isErrorPresent, log, logError, logMessage, matchesVerbosity, setVerbosityLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletErrorLog

public ServletErrorLog(javax.servlet.ServletContext context)
Creates a ServletErrorLog.
Method Detail

createErrorLog

public static ErrorLog createErrorLog(javax.servlet.ServletContext context)
Creates an ErrorLog, accounting for application configuration in setting up the log.

outputText

protected void outputText(java.lang.String message)
Outputs text to the servlet log.
Overrides:
outputText in class BaseErrorLog

outputError

protected void outputError(java.lang.Throwable t)
Outputs the throwable to the servlet log.
Overrides:
outputError in class BaseErrorLog

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.