UnsupportedFileFormatException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException, com.groupdocs.comparison.common.exceptions.ComparisonException

public class UnsupportedFileFormatException extends ComparisonException

The exception that is thrown when file of this format is not supported by Comparison.

Constructors

Constructor Description
UnsupportedFileFormatException() Initializes a new instance of the UnsupportedFileFormatException class.
UnsupportedFileFormatException(String filePath) Initializes a new instance of the UnsupportedFileFormatException class with path to the file.
UnsupportedFileFormatException(Throwable cause) Initializes a new instance of the UnsupportedFileFormatException class with an object that represents the cause of the exception.

UnsupportedFileFormatException()

public UnsupportedFileFormatException()

Initializes a new instance of the UnsupportedFileFormatException class.

UnsupportedFileFormatException(String filePath)

public UnsupportedFileFormatException(String filePath)

Initializes a new instance of the UnsupportedFileFormatException class with path to the file.

Parameters:

Parameter Type Description
filePath java.lang.String The path to the file

UnsupportedFileFormatException(Throwable cause)

public UnsupportedFileFormatException(Throwable cause)

Initializes a new instance of the UnsupportedFileFormatException class with an object that represents the cause of the exception.

Parameters:

Parameter Type Description
cause java.lang.Throwable The cause of the exception