public final class UncaughtExceptionHandlerIntegration extends java.lang.Object implements Integration, java.lang.Thread.UncaughtExceptionHandler, java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
register(IHub hub,
SentryOptions options)
Registers an integration
|
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable thrown) |
public final void register(IHub hub, SentryOptions options)
Integration
register
in interface Integration
hub
- the Huboptions
- the optionspublic void uncaughtException(java.lang.Thread thread, java.lang.Throwable thrown)
uncaughtException
in interface java.lang.Thread.UncaughtExceptionHandler
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable