RuntimeDialectpublic final class LegacyJavaRuntime extends java.lang.Object implements RuntimeDialect
| Constructor | Description |
|---|---|
LegacyJavaRuntime() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClassName(int depth) |
Get a specific fully-qualified class name from current stack trace.
|
java.lang.String |
getProcessId() |
Get the ID of the current process (pid).
|
java.lang.StackTraceElement |
getStackTraceElement(int depth) |
Get a specific stack trace element from current stack trace.
|
public java.lang.String getProcessId()
RuntimeDialectgetProcessId in interface RuntimeDialectpublic java.lang.String getClassName(int depth)
RuntimeDialectgetClassName in interface RuntimeDialectdepth - Position of stack trace elementpublic java.lang.StackTraceElement getStackTraceElement(int depth)
RuntimeDialectgetStackTraceElement in interface RuntimeDialectdepth - Position of stack trace elementCopyright © 2017. All rights reserved.