public interface IJavetClosable
extends java.lang.AutoCloseable
Why AutoCloseable is not feasible?
AutoCloseable requires the implementation to handle checked exception,
however, JavetException is supposed to be handled by the caller.
This interface allows throwing the JavetException in close().
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed()
Is closed.
|
void close()
throws JavetException
close in interface java.lang.AutoCloseableJavetExceptionboolean isClosed()