HitBuilders.ExceptionBuilder | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Ctors | Methods | Inherited Methods | [Expand All]
public static class

# HitBuilders.ExceptionBuilder

extends HitBuilder<HitBuilders.ExceptionBuilder>

java.lang.Object
↳ | com.google.android.gms.analytics.HitBuilders.HitBuilder<com.google.android.gms.analytics.HitBuilders.ExceptionBuilder>
| ↳ | com.google.android.gms.analytics.HitBuilders.ExceptionBuilder

## Class Overview

Exception builder allows you to measure the number and type of caught and uncaught crashes and exceptions that occur in your app.

## Summary

Public Constructors
| HitBuilders.ExceptionBuilder()

Public Methods
HitBuilders.ExceptionBuilder | setDescription(String description)
HitBuilders.ExceptionBuilder | setFatal(boolean fatal)

[Expand] Inherited Methods
From class com.google.android.gms.analytics.HitBuilders.HitBuilder
HitBuilders.ExceptionBuilder | addImpression(Product product, String impressionList) Adds a product impression to the hit.
HitBuilders.ExceptionBuilder | addProduct(Product product) Adds product information to be sent with a given hit.
HitBuilders.ExceptionBuilder | addPromotion(Promotion promotion) Adds promotion related information to the hit.
Map<String, String> | build() Builds a `Map` of parameters and values that can be set on the `Tracker` object.
String | get(String paramName)
final HitBuilders.ExceptionBuilder | set(String paramName, String paramValue) Sets the value for the given parameter name.
final HitBuilders.ExceptionBuilder | setAll(Map<String, String> params) Adds a set of key, value pairs to the hit builder.
HitBuilders.ExceptionBuilder | setCampaignParamsFromUrl(String utmParams) Parses and translates utm campaign parameters to analytics campaign param and returns them as a map.
HitBuilders.ExceptionBuilder | setCustomDimension(int index, String dimension) Adds a custom dimension to the current hit builder.
HitBuilders.ExceptionBuilder | setCustomMetric(int index, float metric) Adds a custom metric to the current hit builder.
HitBuilders.ExceptionBuilder | setHitType(String hitType) Sets the type of the hit to be sent.
HitBuilders.ExceptionBuilder | setNewSession()
HitBuilders.ExceptionBuilder | setNonInteraction(boolean nonInteraction)
HitBuilders.ExceptionBuilder | setProductAction(ProductAction action) Sets a product action for all the products included in this hit.
HitBuilders.ExceptionBuilder | setPromotionAction(String action) Adds an action associated with the promotions in a given hit.
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## Public Constructors

#### public HitBuilders.ExceptionBuilder ()

## Public Methods

#### public HitBuilders.ExceptionBuilder setDescription (String description)

#### public HitBuilders.ExceptionBuilder setFatal (boolean fatal)