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 path, String preceding, String remainder, String linkTarget)
           
 
Method Summary
 String getMessage()
           
 org.apache.hadoop.fs.Path getResolvedPath()
          Return a path with the link resolved with the target.
 
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 path,
                               String preceding,
                               String remainder,
                               String linkTarget)
Method Detail

getResolvedPath

public org.apache.hadoop.fs.Path getResolvedPath()
                                          throws IOException
Return a path with the link resolved with the target.

Throws:
IOException

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2009 The Apache Software Foundation