CorruptOrDamagedFileException
Leave feedback
On this page
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
| 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 |
public CorruptOrDamagedFileException()
Default constructor
public CorruptOrDamagedFileException(FileType fileType)
Creates an exception instance with a FileType
Parameters:
| Parameter | Type | Description |
|---|---|---|
| fileType | FileType | The file type |
public CorruptOrDamagedFileException(String message)
Creates an exception instance with a message
Parameters:
| Parameter | Type | Description |
|---|---|---|
| message | java.lang.String | The message |
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 |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.