FileCorruptedException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.email.AsposeException

public class FileCorruptedException extends AsposeException

Exception that is thrown during file reading, when the file appears to be corrupted and impossible to read.

Constructors

Constructor 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.

FileCorruptedException()

public FileCorruptedException()

Initializes a new instance of the FileCorruptedException class.

FileCorruptedException(String message)

public FileCorruptedException(String message)

Initializes a new instance of the FileCorruptedException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String A message that describes the error.

FileCorruptedException(String message, Throwable inner)

public FileCorruptedException(String message, Throwable inner)

Initializes a new instance of the FileCorruptedException class with a specified error message.

Parameters:

Parameter Type Description
message java.lang.String A message that describes the error.
inner java.lang.Throwable The exception causing the current exception.