|
Oracle Reports Java API Reference 11g Release 1 (11.1.1) E10775-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.reports.plugin.utility.Trace
public class Trace
Reports Trace utility. Plugin can use this utility to write its trace loggings in Reports trace file.
Field Summary | |
---|---|
static int |
ALL
|
static int |
APP
|
static int |
BRK
|
static int |
DEBUG
|
static int |
DST
|
static int |
END_PRF
|
static int |
ERROR
|
static int |
EXCEPT
|
static int |
INFO
|
static int |
LOG
|
static int |
PLS
|
static int |
PRF
|
static int |
SQL
|
static int |
START_PRF
|
static int |
STATE
|
static int |
TMS
|
static int |
WARNING
|
Constructor Summary | |
---|---|
Trace(oracle.reports.utility.TraceHandler rwtrace)
Constructor NOTE: Plugin must never try to create any Reports objects by itself. |
Method Summary | |
---|---|
int |
getTraceFlag()
Returns the trace option set in the confuguration file |
void |
writeln(java.lang.Exception e)
Write an exception in the trace file |
void |
writeln(int traceFlag,
java.lang.String location,
int messageId,
java.lang.String message)
Write a trace message in the trace file |
void |
writeln(int traceFlag,
java.lang.String location,
java.lang.String message)
Write a trace message in the trace file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PRF
public static final int BRK
public static final int APP
public static final int PLS
public static final int SQL
public static final int TMS
public static final int DST
public static final int LOG
public static final int ERROR
public static final int INFO
public static final int DEBUG
public static final int WARNING
public static final int STATE
public static final int EXCEPT
public static final int START_PRF
public static final int END_PRF
public static final int ALL
Constructor Detail |
---|
public Trace(oracle.reports.utility.TraceHandler rwtrace)
Method Detail |
---|
public int getTraceFlag()
public void writeln(java.lang.Exception e)
public void writeln(int traceFlag, java.lang.String location, java.lang.String message)
traceFlag
- trace flag to indicate this message is for, say, profiling,
debugging, error, warning, and etc.location
- the location of the trace message is writtenmessage
- the trace messagepublic void writeln(int traceFlag, java.lang.String location, int messageId, java.lang.String message)
traceFlag
- trace flag to indicate this message is for, say, profiling,
debugging, error, warning, and etc.location
- the location of the trace message is writtenmessae
- id the id of the trace messagemessage
- the trace message
|
Oracle Reports Java API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |