Interface CauseCloseable

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
Database
All Known Implementing Classes:
FileIO, FilePageArray, JoinedPageArray, MappedPageArray, PageArray, StripedPageArray

public interface CauseCloseable extends Closeable
Closeable interface which allows a failure cause to be specified.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • close

      void close(Throwable cause) throws IOException
      Parameters:
      cause - exception which is responsible for this resource being closed
      Throws:
      IOException