DocumentComparisonException

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

The exception that is thrown when an error occurs while comparing documents.

Constructors

Constructor Description
DocumentComparisonException(String message, Throwable cause) Initializes a new instance of the DocumentComparisonException class with error message and an object that represents the cause of the exception.
DocumentComparisonException(Throwable cause) Initializes a new instance of the DocumentComparisonException class with an object that represents the cause of the exception.

DocumentComparisonException(String message, Throwable cause)

public DocumentComparisonException(String message, Throwable cause)

Initializes a new instance of the DocumentComparisonException class with error message and an object that represents the cause of the exception.

Parameters:

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

DocumentComparisonException(Throwable cause)

public DocumentComparisonException(Throwable cause)

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

Parameters:

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