public class CorruptIndexException extends IOException
Constructor and Description |
---|
CorruptIndexException(String message,
DataInput input)
Create exception with a message only
|
CorruptIndexException(String message,
DataInput input,
Throwable cause)
Create exception with message and root cause.
|
CorruptIndexException(String message,
DataOutput output)
Create exception with a message only
|
CorruptIndexException(String message,
DataOutput output,
Throwable cause)
Create exception with message and root cause.
|
CorruptIndexException(String message,
String resourceDescription)
Create exception with a message only
|
CorruptIndexException(String message,
String resourceDescription,
Throwable cause)
Create exception with message and root cause.
|
Modifier and Type | Method and Description |
---|---|
String |
getOriginalMessage()
Returns the original exception message without the corrupted file description.
|
String |
getResourceDescription()
Returns a description of the file that was corrupted
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public CorruptIndexException(String message, DataInput input)
public CorruptIndexException(String message, DataOutput output)
public CorruptIndexException(String message, DataInput input, Throwable cause)
public CorruptIndexException(String message, DataOutput output, Throwable cause)
public CorruptIndexException(String message, String resourceDescription)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.