AsposeLicenseException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception

public class AsposeLicenseException extends System.Exception

This exception is thrown if any errors with license are detected.

Constructors

ConstructorDescription
AsposeLicenseException()Creates a new AsposeLicenseException.
AsposeLicenseException(String message)Creates a new AsposeLicenseException with a message string.
AsposeLicenseException(String message, Throwable cause)Creates a new AsposeLicenseException with a message string and a reason.

AsposeLicenseException()

public AsposeLicenseException()

Creates a new AsposeLicenseException.

AsposeLicenseException(String message)

public AsposeLicenseException(String message)

Creates a new AsposeLicenseException with a message string.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message string.

AsposeLicenseException(String message, Throwable cause)

public AsposeLicenseException(String message, Throwable cause)

Creates a new AsposeLicenseException with a message string and a reason.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message string.
causejava.lang.ThrowableThe reason that indirectly caused this exception.