SanitizationException

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

public final class SanitizationException extends System.Exception

The exception that is thrown when an sanitization operation failed.

Constructors

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

SanitizationException()

public SanitizationException()

Initializes a new instance of the SanitizationException class.

SanitizationException(String message)

public SanitizationException(String message)

Initializes a new instance of the SanitizationException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

SanitizationException(String message, RuntimeException innerException)

public SanitizationException(String message, RuntimeException innerException)

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

SanitizationException(RuntimeException innerException)

public SanitizationException(RuntimeException innerException)

Initializes a new instance of the SanitizationException class with a specified error message and 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.