public final class PluginContext extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getPluginCaller(Exception ex)
Retrieve the name of the plugin that called the last method(s) in the exception.
|
static String |
getPluginName(StackTraceElement element)
Lookup the plugin that this method invocation belongs to, and return its file name.
|
public static String getPluginCaller(Exception ex)
ex - - the exception.public static String getPluginName(StackTraceElement element)
element - - the method invocation.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.