public class RenameFailedException
extends org.apache.hadoop.fs.PathIOException
rename()
call.
Target path is set to destination.Constructor and Description |
---|
RenameFailedException(org.apache.hadoop.fs.Path src,
org.apache.hadoop.fs.Path optionalDest,
String error) |
RenameFailedException(String src,
String dest,
String error) |
RenameFailedException(String src,
String dest,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
getExitCode() |
RenameFailedException |
withExitCode(boolean code)
Set the exit code.
|
getMessage, getPath, getTargetPath, setOperation, setTargetPath, withFullyQualifiedPath
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RenameFailedException(org.apache.hadoop.fs.Path src, org.apache.hadoop.fs.Path optionalDest, String error)
public boolean getExitCode()
public RenameFailedException withExitCode(boolean code)
code
- exit code to raiseCopyright © 2008–2024 Apache Software Foundation. All rights reserved.