CorruptOrDamagedFileException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.conversion.exceptions.GroupDocsConversionException

public final class CorruptOrDamagedFileException extends GroupDocsConversionException

GroupDocs exception thrown when the file is corrupt or damaged

Constructors

Constructor Description
CorruptOrDamagedFileException() Default constructor
CorruptOrDamagedFileException(FileType fileType) Creates an exception instance with a FileType
CorruptOrDamagedFileException(String message) Creates an exception instance with a message
CorruptOrDamagedFileException(String message, RuntimeException exception) Creates an exception instance with a message and propagates the inner exception

CorruptOrDamagedFileException()

public CorruptOrDamagedFileException()

Default constructor

CorruptOrDamagedFileException(FileType fileType)

public CorruptOrDamagedFileException(FileType fileType)

Creates an exception instance with a FileType

Parameters:

Parameter Type Description
fileType FileType The file type

CorruptOrDamagedFileException(String message)

public CorruptOrDamagedFileException(String message)

Creates an exception instance with a message

Parameters:

Parameter Type Description
message java.lang.String The message

CorruptOrDamagedFileException(String message, RuntimeException exception)

public CorruptOrDamagedFileException(String message, RuntimeException exception)

Creates an exception instance with a message and propagates the inner exception

Parameters:

Parameter Type Description
message java.lang.String The message
exception java.lang.RuntimeException The inner exception