JavascriptExtensionsException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException, com.aspose.pdf.exceptions.PdfException

public class JavascriptExtensionsException extends PdfException

The exception that is thrown on errors when working with JavascriptExtensions.

Constructors

ConstructorDescription
JavascriptExtensionsException(String message)Initializes a new instance of the JavascriptExtensionsException class.
JavascriptExtensionsException(String message, RuntimeException innerException)Initializes a new instance of the JavascriptExtensionsException class with a specified error message and a reference to the inner exception that is the cause of this exception.
JavascriptExtensionsException(RuntimeException innerException)Initializes a new instance of the JavascriptExtensionsException class with a reference to the inner exception that is the cause of this exception.

JavascriptExtensionsException(String message)

public JavascriptExtensionsException(String message)

Initializes a new instance of the JavascriptExtensionsException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

JavascriptExtensionsException(String message, RuntimeException innerException)

public JavascriptExtensionsException(String message, RuntimeException innerException)

Initializes a new instance of the JavascriptExtensionsException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe error message that explains the reason for the exception.
innerExceptionjava.lang.RuntimeExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

JavascriptExtensionsException(RuntimeException innerException)

public JavascriptExtensionsException(RuntimeException innerException)

Initializes a new instance of the JavascriptExtensionsException class with a reference to the inner exception that is the cause of this exception.

Parameters:

ParameterTypeDescription
innerExceptionjava.lang.RuntimeExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.