ComparisonException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.groupdocs.foundation.exception.GroupDocsException

public class ComparisonException extends GroupDocsException

Base class for all exception that is thrown while using Comparison API.

Constructors

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

ComparisonException()

public ComparisonException()

Initializes a new instance of the ComparisonException class.

ComparisonException(String message)

public ComparisonException(String message)

Initializes a new instance of the ComparisonException class with error message.

Parameters:

Parameter Type Description
message java.lang.String The error message

ComparisonException(String message, Throwable cause)

public ComparisonException(String message, Throwable cause)

Initializes a new instance of the ComparisonException 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

ComparisonException(Throwable cause)

public ComparisonException(Throwable cause)

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

Parameters:

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