PubFormatException

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 PubFormatException extends PubException

Exception for PUB format

Constructors

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

PubFormatException(String message)

public PubFormatException(String message)

Initializes a new instance of the PubFormatException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

PubFormatException(String message, Throwable innerException)

public PubFormatException(String message, Throwable innerException)

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

PubFormatException(String message, Throwable innerException, String separator)

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

Parameters:

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