Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.io
Class FileExistsException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.io.IOException
                  org.apache.commons.io.FileExistsException

All Implemented Interfaces:
  Serializable

    public class FileExistsException

extends IOException

Indicates that a file already exists.

Since:
  2.0
Version:
  $Id: FileExistsException.java 1304052 2012-03-22 20:55:29Z ggregory $
See Also:
  Serialized Form

Constructor Summary
`FileExistsException()` Default Constructor.
`FileExistsException(File file)` Construct an instance with the specified file.
`FileExistsException(String message)` Construct an instance with the specified message.

Method Summary

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

### FileExistsException

    public FileExistsException()

  Default Constructor.

### FileExistsException

    public FileExistsException(String message)

  Construct an instance with the specified message.

  Parameters:
    `message` - The error message

### FileExistsException

    public FileExistsException(File file)

  Construct an instance with the specified file.

  Parameters:
    `file` - The file that exists

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.