Class ClosedException

  • All Implemented Interfaces:

    public class ClosedException
    ClosedException indicates that the underlying resource has been closed and read/write operations have failed.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      Default constructor.
      ClosedException​(java.lang.String resourceName)
      Constructor which indicates resource which has been closed.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getResourceName()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClosedException

        public ClosedException()
        Default constructor. Message indicates 'File is closed'.
      • ClosedException

        public ClosedException​(java.lang.String resourceName)
        Constructor which indicates resource which has been closed. Message indicates '<resourceName> is closed'.
        resourceName - name of closed resource.
    • Method Detail

      • getResourceName

        public java.lang.String getResourceName()
        name of resource which is closed.