FileFormatException

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 FileFormatException extends ComparisonException

The exception that is thrown when comparing files with different comparison types.

Constructors

Constructor Description
FileFormatException(String sourceComparisonType, String targetComparisonType) Initializes a new instance of the FileFormatException class with source and target comparison types.

FileFormatException(String sourceComparisonType, String targetComparisonType)

public FileFormatException(String sourceComparisonType, String targetComparisonType)

Initializes a new instance of the FileFormatException class with source and target comparison types.

Parameters:

Parameter Type Description
sourceComparisonType java.lang.String The source comparison type
targetComparisonType java.lang.String The target comparison type