public class FileCorruptedException extends AsposeException
Exception that is thrown during file reading, when the file appears to be corrupted and impossible to read.
Constructor and Description |
---|
FileCorruptedException()
Initializes a new instance of the
FileCorruptedException class. |
FileCorruptedException(String message)
Initializes a new instance of the
FileCorruptedException class with a specified error message. |
FileCorruptedException(String message,
Throwable inner)
Initializes a new instance of the
FileCorruptedException class with a specified error message. |
getErrorDetails, getMessage, toString
getHResult, getInnerException, getType, setErrorCode, setHResult
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public FileCorruptedException()
Initializes a new instance of the FileCorruptedException
class.
public FileCorruptedException(String message)
Initializes a new instance of the FileCorruptedException
class with a specified error message.
message
- A message that describes the error.public FileCorruptedException(String message, Throwable inner)
Initializes a new instance of the FileCorruptedException
class with a specified error message.
message
- A message that describes the error.inner
- The exception causing the current exception.