CrashReportOptions

Inheritance: java.lang.Object, com.aspose.pdf.exceptions.CrashReportOptions

public class CrashReportOptions extends Object

Options for crash report generating.

Constructors

ConstructorDescription
CrashReportOptionsCreates CrashReportOptions with default parameters.

Methods

MethodDescription
getApplicationTitleName of library where exception occured.
getCrashReportDirectoryOutput directory for crash report. By default is set to current directory.
getCrashReportFilenameFilename for crash report. By default, is auto-generated in format CrashReport_date_ticks.html
getCrashReportPathFull path of crash report file
getCustomMessageCustom message to include into the report. It can be something like value of variables or other details you want to send.
getExceptionException that crash report will be based on
getLibraryVersionVersion of library used.
setCrashReportDirectoryOutput directory for crash report. By default is set to current directory.
setCrashReportFilenameFilename for crash report. By default, is auto-generated in format CrashReport_date_ticks.html
setCustomMessageCustom message to include into the report. It can be something like value of variables or other details you want to send.

CrashReportOptions

Creates CrashReportOptions with default parameters.

getApplicationTitle

public final String getApplicationTitle()

Name of library where exception occured.

Returns: String value

getCrashReportDirectory

public final String getCrashReportDirectory()

Output directory for crash report. By default is set to current directory.

Returns: String value

getCrashReportFilename

public final String getCrashReportFilename()

Filename for crash report. By default, is auto-generated in format CrashReport_date_ticks.html

Returns: String value

getCrashReportPath

public final String getCrashReportPath()

Full path of crash report file

Returns: String value

getCustomMessage

public final String getCustomMessage()

Custom message to include into the report. It can be something like value of variables or other details you want to send.

Returns: String value

getException

public final com.aspose.ms.System.Exception getException()

Exception that crash report will be based on

Returns: Exception instance

getLibraryVersion

public final String getLibraryVersion()

Version of library used.

Returns: String value

setCrashReportDirectory

Output directory for crash report. By default is set to current directory.

setCrashReportFilename

Filename for crash report. By default, is auto-generated in format CrashReport_date_ticks.html

setCustomMessage

Custom message to include into the report. It can be something like value of variables or other details you want to send.