Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.ide.feedback
Class FeedbackLogOptions

java.lang.Object
  extended by oracle.ide.feedback.FeedbackLogOptions


public class FeedbackLogOptions
extends java.lang.Object

FeedbackManager log handler options for feedback logged through a Logger. If a FeedbackLogOptions instance is included in the parameters of a log message, the handling of the message by the FeedbackManager's log handler will use the options given in the instance.


Constructor Summary
FeedbackLogOptions()
          Creates an options instance with a null exception, API name, and API depth.
FeedbackLogOptions(java.lang.Throwable exception, int apiDepth)
          Creates an options instance with a null API name.
FeedbackLogOptions(java.lang.Throwable exception, java.lang.String apiName)
          Creates an options instance with a null API depth.

 

Method Summary
 java.lang.Integer getApiDepth()
          Gets the number of stack frames in the exception associated with this feedback message that are part of the reporting API and should not be considered when identifying bugs.
 java.lang.String getApiName()
          Gets the API name associated with this feedback message, or null if the handler should attempt to extract it from the message.
 java.lang.Throwable getException()
          Gets the exception associated with this feedback message, or null if the handler should use LogRecord.getThrown().
 void setApiDepth(java.lang.Integer apiDepth)
          Sets the number of stack frames in the exception associated with this feedback message that are part of the reporting API and should not be considered when identifying bugs.
 void setApiName(java.lang.String apiName)
          Sets the API name associated with this feedback message, or null if the handler should attempt to extract it from the message.
 void setException(java.lang.Throwable exception)
          Sets the exception associated with this feedback message, or null if the handler should use LogRecord.getThrown().

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

FeedbackLogOptions

public FeedbackLogOptions()
Creates an options instance with a null exception, API name, and API depth.

FeedbackLogOptions

public FeedbackLogOptions(java.lang.Throwable exception,
                          int apiDepth)
Creates an options instance with a null API name.

FeedbackLogOptions

public FeedbackLogOptions(java.lang.Throwable exception,
                          java.lang.String apiName)
Creates an options instance with a null API depth.

Method Detail

getException

public java.lang.Throwable getException()
Gets the exception associated with this feedback message, or null if the handler should use LogRecord.getThrown().

setException

public void setException(java.lang.Throwable exception)
Sets the exception associated with this feedback message, or null if the handler should use LogRecord.getThrown().

getApiDepth

public java.lang.Integer getApiDepth()
Gets the number of stack frames in the exception associated with this feedback message that are part of the reporting API and should not be considered when identifying bugs.

setApiDepth

public void setApiDepth(java.lang.Integer apiDepth)
Sets the number of stack frames in the exception associated with this feedback message that are part of the reporting API and should not be considered when identifying bugs.

getApiName

public java.lang.String getApiName()
Gets the API name associated with this feedback message, or null if the handler should attempt to extract it from the message.

setApiName

public void setApiName(java.lang.String apiName)
Sets the API name associated with this feedback message, or null if the handler should attempt to extract it from the message.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.