| Package | Description |
|---|---|
| com.samebug.notifier |
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
Configuration.fromDefault()
Factory method to create a configuration with the default values.
|
static Configuration |
Configuration.fromProperties()
Factory method of the default configuration.
|
static Configuration |
Configuration.fromPropertyFile(String fileName)
Factory method to create a configuration based on the content of a
property file, given with its absolute path.
|
static Configuration |
Configuration.fromPropertyResource(String resourceName)
Factory method to create a configuration based on the content of a
resource property file.
|
static void |
Samebug.handleUncaughtExceptions()
Install a default exception handler on the current thread.
|
static void |
Samebug.handleUncaughtExceptions(Configuration config)
Install a default exception handler on the current thread, with the given
config
|
static void |
Samebug.handleUncaughtExceptions(String applicationKey)
Install a default exception handler on the current thread, with the given
application key.
|
static void |
Samebug.init()
Initialize a singleton notifier instance.
|
static void |
Samebug.init(Configuration config)
Initialize a singleton notifier instance.
|
static void |
Samebug.init(String applicationKey)
Initialize a singleton notifier instance.
|
| Constructor and Description |
|---|
Configuration(String appKey)
Construct a configuration with the specified application key.
|
SamebugNotifier()
Create a notifier with the default configuration
|
SamebugNotifier(String appKey)
Create a notifier with only the application key set.
|
SamebugUncaughtExceptionHandler()
Construct using an underlying notifier with default configuration.
|
Copyright © 2014. All rights reserved.