org.apache.hadoop.fs
Class PathExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.fs.PathIOException
                  extended by org.apache.hadoop.fs.PathExistsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PathIsDirectoryException, PathIsNotDirectoryException, PathIsNotEmptyDirectoryException, PathOperationException

public class PathExistsException
extends PathIOException

Exception corresponding to File Exists - EEXISTS

See Also:
Serialized Form

Constructor Summary
  PathExistsException(String path)
           
protected PathExistsException(String path, String error)
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.fs.PathIOException
getMessage, getPath, getTargetPath, setOperation, setTargetPath
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

PathExistsException

public PathExistsException(String path)
Parameters:
path - for the exception

PathExistsException

protected PathExistsException(String path,
                              String error)


Copyright © 2013 Apache Software Foundation. All Rights Reserved.