Class ClosableResourceUtils


  • public final class ClosableResourceUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.Exception attemptClose​(ClosableResource cr)
      attempts to close the specified resource, logging any exception or failure, but allowing control flow to proceed normally regardless.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • attemptClose

        public static java.lang.Exception attemptClose​(ClosableResource cr)
        attempts to close the specified resource, logging any exception or failure, but allowing control flow to proceed normally regardless.