com.aspose.pdf.exceptions

Class SanitizationException

  • All Implemented Interfaces:
    Serializable


    public final class SanitizationException
    extends com.aspose.ms.System.Exception

    The exception that is thrown when an sanitization operation failed.

    See Also:
    Serialized Form
    • Constructor Detail

      • SanitizationException

        public SanitizationException()

        Initializes a new instance of the SanitizationException class.

      • SanitizationException

        public SanitizationException(String message)

        Initializes a new instance of the SanitizationException class.

        Parameters:
        message - The message.
      • SanitizationException

        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:
        message - The error message that explains the reason for the exception.
        innerException - 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

        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:
        innerException - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.