com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class AsposeNotSupportedException

  • All Implemented Interfaces:
    Serializable


    public class AsposeNotSupportedException
    extends AsposeException

    The exception that is thrown when an invoked method or parameter is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.

    <filterpriority>1</filterpriority>
    See Also:
    Serialized Form
    • Constructor Detail

      • AsposeNotSupportedException

        public AsposeNotSupportedException()

        Initializes a new instance of the AsposeNotSupportedException class.

      • AsposeNotSupportedException

        public AsposeNotSupportedException(String message)

        Initializes a new instance of the AsposeNotSupportedException class with a specified error message.

        Parameters:
        message - The message that describes the error.
      • AsposeNotSupportedException

        public AsposeNotSupportedException(String format,
                                   String parameter)
      • AsposeNotSupportedException

        public AsposeNotSupportedException(String format,
                                   Object... parameters)

        Initializes a new instance of the AsposeArgumentOutOfRangeException class with a specified error message.

        Parameters:
        format - Message format
        parameters - Format parameters
      • AsposeNotSupportedException

        public AsposeNotSupportedException(String message,
                                   com.aspose.ms.System.Exception innerException)

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

        public AsposeNotSupportedException(com.aspose.ms.System.Exception innerException)

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

      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class AsposeException
        Returns:
        A string that represents the current object.