@InterfaceAudience.Public @InterfaceStability.Unstable public class CannotObtainBlockLengthException extends IOException
| Constructor and Description | 
|---|
| CannotObtainBlockLengthException() | 
| CannotObtainBlockLengthException(org.apache.hadoop.hdfs.protocol.LocatedBlock locatedBlock)Constructs an  CannotObtainBlockLengthExceptionwith the
 specified LocatedBlock that failed to obtain block length. | 
| CannotObtainBlockLengthException(org.apache.hadoop.hdfs.protocol.LocatedBlock locatedBlock,
                                String src)Constructs an  CannotObtainBlockLengthExceptionwith the
 specified LocatedBlock and file that failed to obtain block length. | 
| CannotObtainBlockLengthException(String message) | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CannotObtainBlockLengthException()
public CannotObtainBlockLengthException(String message)
public CannotObtainBlockLengthException(org.apache.hadoop.hdfs.protocol.LocatedBlock locatedBlock)
CannotObtainBlockLengthException with the
 specified LocatedBlock that failed to obtain block length.locatedBlock - The LocatedBlock instance which block length can not be obtainedpublic CannotObtainBlockLengthException(org.apache.hadoop.hdfs.protocol.LocatedBlock locatedBlock,
                                        String src)
CannotObtainBlockLengthException with the
 specified LocatedBlock and file that failed to obtain block length.locatedBlock - The LocatedBlock instance which block length can not be obtainedsrc - The file which include this blockCopyright © 2023 Apache Software Foundation. All rights reserved.