public final class UncaughtExceptionHandlerIntegration extends java.lang.Object implements Integration, java.lang.Thread.UncaughtExceptionHandler, java.io.Closeable
Constructor and Description |
---|
UncaughtExceptionHandlerIntegration() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
register(@NotNull IHub hub,
@NotNull SentryOptions options)
Registers an integration
|
void |
uncaughtException(java.lang.Thread thread,
java.lang.Throwable thrown) |
public final void register(@NotNull @NotNull IHub hub, @NotNull @NotNull 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