airbrake
Class AirbrakeNoticeBuilder

java.lang.Object
  extended by airbrake.AirbrakeNoticeBuilder
Direct Known Subclasses:
AirbrakeNoticeBuilderUsingFilteredSystemProperties

public class AirbrakeNoticeBuilder
extends Object


Constructor Summary
AirbrakeNoticeBuilder(String apiKey, Backtrace backtraceBuilder, Throwable throwable, String env)
           
AirbrakeNoticeBuilder(String apiKey, String errorMessage)
           
AirbrakeNoticeBuilder(String apiKey, String errorMessage, String env)
           
AirbrakeNoticeBuilder(String apiKey, Throwable throwable)
           
AirbrakeNoticeBuilder(String apiKey, Throwable throwable, String env)
           
AirbrakeNoticeBuilder(String apiKey, Throwable throwable, String projectRoot, String env)
           
 
Method Summary
protected  void addSessionKey(String key, Object value)
           
protected  void backtrace(Backtrace backtrace)
          An array where each element is a line of the backtrace (required, but can be empty).
protected  void ec2EnvironmentFilters()
           
protected  void environment(Map<String,Object> environment)
          A hash of the environment data that existed when the error occurred (required, but can be empty).
protected  void environment(Properties properties)
           
 void environmentFilter(String filter)
           
protected  boolean errorClassIs(String possibleErrorClass)
           
protected  void filteredSystemProperties()
           
 AirbrakeNotice newNotice()
           
protected  void projectRoot(String projectRoot)
           
protected  void request(Map<String,Object> request)
          A hash of the request parameters that were given when the error occurred (required, but can be empty).
protected  void session(Map<String,Object> session)
          A hash of the session data that existed when the error occurred (required, but can be empty).
protected  void setRequest(String url, String component)
           
protected  void standardEnvironmentFilters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirbrakeNoticeBuilder

public AirbrakeNoticeBuilder(String apiKey,
                             Backtrace backtraceBuilder,
                             Throwable throwable,
                             String env)

AirbrakeNoticeBuilder

public AirbrakeNoticeBuilder(String apiKey,
                             String errorMessage)

AirbrakeNoticeBuilder

public AirbrakeNoticeBuilder(String apiKey,
                             String errorMessage,
                             String env)

AirbrakeNoticeBuilder

public AirbrakeNoticeBuilder(String apiKey,
                             Throwable throwable)

AirbrakeNoticeBuilder

public AirbrakeNoticeBuilder(String apiKey,
                             Throwable throwable,
                             String env)

AirbrakeNoticeBuilder

public AirbrakeNoticeBuilder(String apiKey,
                             Throwable throwable,
                             String projectRoot,
                             String env)
Method Detail

addSessionKey

protected void addSessionKey(String key,
                             Object value)

backtrace

protected void backtrace(Backtrace backtrace)
An array where each element is a line of the backtrace (required, but can be empty).


ec2EnvironmentFilters

protected void ec2EnvironmentFilters()

environment

protected void environment(Map<String,Object> environment)
A hash of the environment data that existed when the error occurred (required, but can be empty).


environment

protected void environment(Properties properties)

environmentFilter

public void environmentFilter(String filter)

errorClassIs

protected boolean errorClassIs(String possibleErrorClass)

filteredSystemProperties

protected void filteredSystemProperties()

newNotice

public AirbrakeNotice newNotice()

projectRoot

protected void projectRoot(String projectRoot)

request

protected void request(Map<String,Object> request)
A hash of the request parameters that were given when the error occurred (required, but can be empty).


session

protected void session(Map<String,Object> session)
A hash of the session data that existed when the error occurred (required, but can be empty).


setRequest

protected void setRequest(String url,
                          String component)

standardEnvironmentFilters

protected void standardEnvironmentFilters()


Copyright © 2013. All Rights Reserved.