com.aspose.pub.exceptions

Class PubException

    • Constructor Detail

      • PubException

        public PubException(String message)

        Initializes a new instance of the PubException class.

        Parameters:
        message - The message.
      • PubException

        public PubException(String message,
                            Throwable innerException)

        Initializes a new instance of the PubException 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.
    • Method Detail

      • getMessage

        public String getMessage()

        Gets a message that describes the current exception.

        Overrides:
        getMessage in class Throwable