
net.yetamine.lang.closeables.SafeCloseable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of net.yetamine.lang Show documentation
Show all versions of net.yetamine.lang Show documentation
Small extensions for the core Java language libraries.
package net.yetamine.lang.closeables;
/**
* An extension of {@link AutoCloseable} that throws no checked exceptions.
*
*
* Implementations of this interface should avoid throwing any exceptions if
* possible. Invoking this method on a closed instance should have no effect.
*/
public interface SafeCloseable extends AutoCloseable {
/**
* @see java.lang.AutoCloseable#close()
*/
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy