@Test public void testSetException() { NullPointerException exception = new NullPointerException("mock"); ExceptionTelemetry exceptionTelemetry = new ExceptionTelemetry(exception); NullPointerException exception1 = new NullPointerException("mock"); exceptionTelemetry.setException(exception1); assertSame(exception1, exceptionTelemetry.getException()); }
public void setException(Throwable throwable) { setException(throwable, Integer.MAX_VALUE); }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public void setException(Throwable throwable) { setException(throwable, Integer.MAX_VALUE); } }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public void setException(Throwable throwable) { setException(throwable, Integer.MAX_VALUE); } ExceptionTelemetry();  ExceptionTelemetry(Throwable exception, int stackSize);  ExceptionTelemetry(Throwable exception); }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public void setException(Throwable throwable) { setException(throwable, Integer.MAX_VALUE); } ExceptionTelemetry();  ExceptionTelemetry(Throwable exception, int stackSize);  ExceptionTelemetry(Throwable exception); @Override int getVer(); Exception getException(); Throwable getThrowable(); void setException(Throwable throwable); void setException(Throwable throwable, int stackSize); @Deprecated ExceptionHandledAt getExceptionHandledAt(); @Deprecated void setExceptionHandledAt(ExceptionHandledAt value); ConcurrentMap<String,Double> getMetrics(); void setSeverityLevel(SeverityLevel severityLevel); SeverityLevel getSeverityLevel(); @Override Double getSamplingPercentage(); @Override void setSamplingPercentage(Double samplingPercentage); @Override ExceptionData getData(); List<ExceptionDetails> getExceptions(); @Override String getEnvelopName(); @Override String getBaseTypeName(); String getProblemId(); }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public void setException(Throwable throwable) { setException(throwable, Integer.MAX_VALUE); } ExceptionTelemetry();  ExceptionTelemetry(Throwable exception, int stackSize);  ExceptionTelemetry(Throwable exception); @Override int getVer(); Exception getException(); Throwable getThrowable(); void setException(Throwable throwable); void setException(Throwable throwable, int stackSize); @Deprecated ExceptionHandledAt getExceptionHandledAt(); @Deprecated void setExceptionHandledAt(ExceptionHandledAt value); ConcurrentMap<String,Double> getMetrics(); void setSeverityLevel(SeverityLevel severityLevel); SeverityLevel getSeverityLevel(); @Override Double getSamplingPercentage(); @Override void setSamplingPercentage(Double samplingPercentage); @Override ExceptionData getData(); List<ExceptionDetails> getExceptions(); @Override String getEnvelopName(); @Override String getBaseTypeName(); String getProblemId(); static final String ENVELOPE_NAME; static final String BASE_TYPE; }