public class ExceptionReporter extends org.openbase.jul.pattern.ObservableImpl<ExceptionReporter.ExceptionReport>
| Modifier and Type | Class and Description |
|---|---|
class |
ExceptionReporter.ExceptionReport
Inner class holding information about how often an exception was reported.
|
| Modifier and Type | Method and Description |
|---|---|
static ExceptionReporter |
getInstance() |
void |
report(Throwable th)
Reports an exception.
|
void |
report(Throwable th,
int limit)
Reports an exception.
|
applyValueUpdate, getValue, getValueFuture, isValueAvailable, waitForValueaddObserver, isNotificationInProgess, notifyObservers, notifyObservers, removeObserver, setExecutorService, setHashGenerator, shutdown, toStringpublic static ExceptionReporter getInstance()
public void report(Throwable th)
th - The exception to report.public void report(Throwable th, int limit)
th - The exception to report.limit - How many times this exception may occur from the same place, until observers are notified.Copyright © 2017–2018 openbase.org. All rights reserved.