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
Constructor | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The 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:
Parameter | Type | Description |
---|---|---|
message | java.lang.String | The error message that explains the reason for the exception. |
innerException | java.lang.RuntimeException | The 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:
Parameter | Type | Description |
---|---|---|
innerException | java.lang.RuntimeException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |