public class PubException
extends com.aspose.ms.System.ApplicationException
Represents errors that occur during PUB application execution.
| Constructor and Description |
|---|
PubException(String message)
Initializes a new instance of the
PubException class. |
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. |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets a message that describes the current exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic PubException(String message)
Initializes a new instance of the PubException class.
message - The message.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.
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.public String getMessage()
Gets a message that describes the current exception.
getMessage in class ThrowableCopyright © 2020 Aspose. All Rights Reserved.