public interface DebugCloseable extends AutoCloseable
AutoCloseable whose DebugCloseable.close() does not throw a checked exception.| Modifier and Type | Field and Description |
|---|---|
static DebugCloseable |
VOID_CLOSEABLE |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
default DebugContext |
getDebug()
Gets the debug context associated with this object.
|
static final DebugCloseable VOID_CLOSEABLE
default DebugContext getDebug()
void close()
close in interface AutoCloseable