public class CrashReportOptions extends Object
Options for crash report generating.
Constructor and Description |
---|
CrashReportOptions(com.aspose.ms.System.Exception exception)
Creates CrashReportOptions with default parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationTitle()
Name of library where exception occured.
|
String |
getCrashReportDirectory()
Output directory for crash report.
|
String |
getCrashReportFilename()
Filename for crash report.
|
String |
getCrashReportPath()
Full path of crash report file
|
String |
getCustomMessage()
Custom message to include into the report.
|
com.aspose.ms.System.Exception |
getException()
Exception that crash report will be based on
|
String |
getLibraryVersion()
Version of library used.
|
void |
setCrashReportDirectory(String value)
Output directory for crash report.
|
void |
setCrashReportFilename(String value)
Filename for crash report.
|
void |
setCustomMessage(String value)
Custom message to include into the report.
|
public CrashReportOptions(com.aspose.ms.System.Exception exception)
Creates CrashReportOptions with default parameters.
exception
- Exception that report is based oncom.aspose.ms.System.ArgumentNullException
- Generates ArgumentNullException if exception is nullpublic final String getApplicationTitle()
Name of library where exception occured.
public final String getLibraryVersion()
Version of library used.
public final String getCrashReportDirectory()
Output directory for crash report. By default is set to current directory.
public final void setCrashReportDirectory(String value)
Output directory for crash report. By default is set to current directory.
value
- String valuepublic final String getCrashReportFilename()
public final void setCrashReportFilename(String value)
value
- String valuepublic final String getCrashReportPath()
Full path of crash report file
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.
public final void setCustomMessage(String value)
Custom message to include into the report. It can be something like value of variables or other details you want to send.
value
- String valuepublic final com.aspose.ms.System.Exception getException()
Exception that crash report will be based on
Copyright © 2025 Aspose. All Rights Reserved.