com.esri.arcgis.server
Interface IServerErrorReports

All Superinterfaces:
Serializable
All Known Implementing Classes:
ServerObjectAdmin

public interface IServerErrorReports
extends Serializable

Provides access to Server error reporting settings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getErrorReportCacheSize()
          Maximum number of stored crash dumps.
 String getErrorReportDir()
          Crash dump directory.
 String getErrorReportEmailAddress()
          E-mail address of server administrator.
 int getErrorReportInterval()
          Interval at which SOM checks crash dumps and uploads error reports.
 int getErrorReportMode()
          Exception handling mode of SOC processes.
 int getErrorReportModeSOM()
          Exception handling mode of SOM process.
 int getErrorReportType()
          Crash dump type.
 boolean isErrorReportEnableUpload()
          Indicates whether error reporting is enabled.
 void reportErrors()
          Uploads stored error reports to the reporting web service.
 void setErrorReportCacheSize(int pVal)
          Maximum number of stored crash dumps.
 void setErrorReportDir(String pVal)
          Crash dump directory.
 void setErrorReportEmailAddress(String pVal)
          E-mail address of server administrator.
 void setErrorReportEnableUpload(boolean pVal)
          Indicates whether error reporting is enabled.
 void setErrorReportInterval(int pVal)
          Interval at which SOM checks crash dumps and uploads error reports.
 void setErrorReportMode(int pVal)
          Exception handling mode of SOC processes.
 void setErrorReportModeSOM(int pVal)
          Exception handling mode of SOM process.
 void setErrorReportType(int pVal)
          Crash dump type.
 

Method Detail

setErrorReportMode

void setErrorReportMode(int pVal)
                        throws IOException,
                               AutomationException
Exception handling mode of SOC processes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - A com.esri.arcgis.server.esriServerExceptionHandlingMode constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportMode

int getErrorReportMode()
                       throws IOException,
                              AutomationException
Exception handling mode of SOC processes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.server.esriServerExceptionHandlingMode constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportModeSOM

void setErrorReportModeSOM(int pVal)
                           throws IOException,
                                  AutomationException
Exception handling mode of SOM process.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - A com.esri.arcgis.server.esriServerExceptionHandlingMode constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportModeSOM

int getErrorReportModeSOM()
                          throws IOException,
                                 AutomationException
Exception handling mode of SOM process.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.server.esriServerExceptionHandlingMode constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportType

void setErrorReportType(int pVal)
                        throws IOException,
                               AutomationException
Crash dump type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportType

int getErrorReportType()
                       throws IOException,
                              AutomationException
Crash dump type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportDir

void setErrorReportDir(String pVal)
                       throws IOException,
                              AutomationException
Crash dump directory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportDir

String getErrorReportDir()
                         throws IOException,
                                AutomationException
Crash dump directory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportCacheSize

void setErrorReportCacheSize(int pVal)
                             throws IOException,
                                    AutomationException
Maximum number of stored crash dumps.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportCacheSize

int getErrorReportCacheSize()
                            throws IOException,
                                   AutomationException
Maximum number of stored crash dumps.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportEnableUpload

void setErrorReportEnableUpload(boolean pVal)
                                throws IOException,
                                       AutomationException
Indicates whether error reporting is enabled.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isErrorReportEnableUpload

boolean isErrorReportEnableUpload()
                                  throws IOException,
                                         AutomationException
Indicates whether error reporting is enabled.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportEmailAddress

void setErrorReportEmailAddress(String pVal)
                                throws IOException,
                                       AutomationException
E-mail address of server administrator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportEmailAddress

String getErrorReportEmailAddress()
                                  throws IOException,
                                         AutomationException
E-mail address of server administrator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setErrorReportInterval

void setErrorReportInterval(int pVal)
                            throws IOException,
                                   AutomationException
Interval at which SOM checks crash dumps and uploads error reports.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - The pVal (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getErrorReportInterval

int getErrorReportInterval()
                           throws IOException,
                                  AutomationException
Interval at which SOM checks crash dumps and uploads error reports.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reportErrors

void reportErrors()
                  throws IOException,
                         AutomationException
Uploads stored error reports to the reporting web service.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.