ConvertException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException, com.aspose.pub.exceptions.PubException

public final class ConvertException extends PubException

Exception for conversion cases

Constructors

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

ConvertException(String message)

public ConvertException(String message)

Initializes a new instance of the ConvertException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

ConvertException(String message, Throwable innerException)

public ConvertException(String message, Throwable innerException)

Initializes a new instance of the ConvertException 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.ThrowableThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

ConvertException(String message, Throwable innerException, String separator)

public ConvertException(String message, Throwable innerException, String separator)

Parameters:

ParameterTypeDescription
messagejava.lang.String
innerExceptionjava.lang.Throwable
separatorjava.lang.String