org.apache.hadoop.hdfs.protocol
Class UnresolvedPathException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.fs.UnresolvedLinkException
                  extended by org.apache.hadoop.hdfs.protocol.UnresolvedPathException
All Implemented Interfaces:
Serializable

@InterfaceAudience.Private
@InterfaceStability.Evolving
public final class UnresolvedPathException
extends org.apache.hadoop.fs.UnresolvedLinkException

Thrown when a symbolic link is encountered in a path.

See Also:
Serialized Form

Constructor Summary
UnresolvedPathException(String msg)
          Used by RemoteException to instantiate an UnresolvedPathException.
UnresolvedPathException(String originalPath, String remainingPath, String linkTarget)
           
 
Method Summary
 String getMessage()
           
 org.apache.hadoop.fs.Path getResolvedPath()
           
 org.apache.hadoop.fs.Path getUnresolvedPath()
           
 
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

UnresolvedPathException

public UnresolvedPathException(String msg)
Used by RemoteException to instantiate an UnresolvedPathException.


UnresolvedPathException

public UnresolvedPathException(String originalPath,
                               String remainingPath,
                               String linkTarget)
Method Detail

getUnresolvedPath

public org.apache.hadoop.fs.Path getUnresolvedPath()
                                            throws IOException
Throws:
IOException

getResolvedPath

public org.apache.hadoop.fs.Path getResolvedPath()
                                          throws IOException
Throws:
IOException

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2009 The Apache Software Foundation