Class FileInUseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FileInUseException
    extends java.io.IOException
    FileInUseException indicates that there was contention for a file which is in-use. This can be caused for various reasons including a file lock of some kind.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FileInUseException​(java.lang.String msg)
      Create a new FileInUseException with the given message.
      FileInUseException​(java.lang.String msg, java.lang.Throwable cause)
      Create a new FileInUseException with the given message and cause.
    • Method Summary

      • 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

      • FileInUseException

        public FileInUseException​(java.lang.String msg)
        Create a new FileInUseException with the given message.
        Parameters:
        msg - the exception message.
      • FileInUseException

        public FileInUseException​(java.lang.String msg,
                                  java.lang.Throwable cause)
        Create a new FileInUseException with the given message and cause.
        Parameters:
        msg - the exception message.