Top Fields Constructors Methods
com.mchange.v1.util

public final Class ClosableResourceUtils

extends Object
Class Inheritance
Imports
com.mchange.v2.log.*

Field Summary

Modifier and TypeField and Description
private static final MLogger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Exception
attemptClose(ClosableResource cr)

attempts to close the specified resource, logging any exception or failure, but allowing control flow to proceed normally regardless.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private static final MLogger logger

Constructor Detail

ClosableResourceUtilsback to summary
private ClosableResourceUtils()

Method Detail

attemptCloseback to summary
public static Exception attemptClose(ClosableResource cr)

attempts to close the specified resource, logging any exception or failure, but allowing control flow to proceed normally regardless.