public class CorruptedOrDamagedFileException extends AnnotatorException
The exception that is thrown when file is corrupted or damaged.
Constructor and Description |
---|
CorruptedOrDamagedFileException(String message)
Initializes a new instance of the
CorruptedOrDamagedFileException
class. |
CorruptedOrDamagedFileException(String message,
RuntimeException innerException)
Initializes a new instance of the
CorruptedOrDamagedFileException
class. |
getHResult, getInnerException, getType, setErrorCode, setHResult, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public CorruptedOrDamagedFileException(String message)
Initializes a new instance of the CorruptedOrDamagedFileException
class.
message
- The message that describes the error.public CorruptedOrDamagedFileException(String message, RuntimeException innerException)
Initializes a new instance of the CorruptedOrDamagedFileException
class.
message
- The error message that explains the reason for the
exception.innerException
- The exception that is the cause of the current
exception, or a null reference (Nothing in Visual Basic) if no inner
exception is specified.