@Test public void testExceptions() { Exception exception = new IOException("mocka", new IllegalArgumentException("mockb")); ExceptionTelemetry exceptionTelemetry = new ExceptionTelemetry(exception); assertThat(exceptionTelemetry.getExceptions(), hasSize(2)); }
public List<ExceptionDetails> getExceptions() { return data.getExceptions(); }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public List<ExceptionDetails> getExceptions() { return data.getExceptions(); } }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public List<ExceptionDetails> getExceptions() { return data.getExceptions(); } ExceptionTelemetry();  ExceptionTelemetry(Throwable exception, int stackSize);  ExceptionTelemetry(Throwable exception); }
ExceptionTelemetry extends BaseSampleSourceTelemetry<ExceptionData> { public List<ExceptionDetails> getExceptions() { return data.getExceptions(); } 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 List<ExceptionDetails> getExceptions() { return data.getExceptions(); } 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; }