Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Services.ServiceException Class Reference

Service specific exception. More...

Inheritance diagram for Dragengine.Services.ServiceException:

Public Member Functions

Object getAdditionalData ()
 Error specific additional data or null.
Enumeration getErrorCategory ()
 Service specific error category or null.
Enumeration getErrorCode ()
 Service specific error code or null.
Service getService ()
 Service throwing exception.
ServiceException new (Service service, String message, Enumeration errorCode, Enumeration errorCategory)
 Create ServiceException.
ServiceException new (Service service, String message, Enumeration errorCode, Enumeration errorCategory, Object additionalData)
 Create ServiceException.
ServiceException new (ServiceException exception, Object additionalData)
 Create copy of ServiceException with additional data.
ServiceException withAdditionalData (Object additionalData)
 Create copy of ServiceException with new additional data.

Public Attributes

Object pAdditionalData
Enumeration pErrorCategory
Enumeration pErrorCode
Service pService

Detailed Description

Service specific exception.

Stores error message and optional error information. Depending on the service the exception originates from information like error code or error category can be present. The service throwing the exception is also present to allow interprate the optional error informationn.

Member Function Documentation

◆ getAdditionalData()

Object Dragengine.Services.ServiceException.getAdditionalData ( )

Error specific additional data or null.

References getService(), and pService.

Referenced by withAdditionalData().

◆ getErrorCategory()

Enumeration Dragengine.Services.ServiceException.getErrorCategory ( )

Service specific error category or null.

Referenced by withAdditionalData().

◆ getErrorCode()

Enumeration Dragengine.Services.ServiceException.getErrorCode ( )

Service specific error code or null.

References new().

Referenced by withAdditionalData().

◆ getService()

Service Dragengine.Services.ServiceException.getService ( )

Service throwing exception.

Referenced by getAdditionalData().

◆ new() [1/3]

ServiceException Dragengine.Services.ServiceException.new ( Service service,
String message,
Enumeration errorCode,
Enumeration errorCategory )

Create ServiceException.

References new(), and pService.

Referenced by getErrorCode(), new(), new(), and withAdditionalData().

◆ new() [2/3]

ServiceException Dragengine.Services.ServiceException.new ( Service service,
String message,
Enumeration errorCode,
Enumeration errorCategory,
Object additionalData )

Create ServiceException.

References pErrorCategory, and pErrorCode.

◆ new() [3/3]

ServiceException Dragengine.Services.ServiceException.new ( ServiceException exception,
Object additionalData )

Create copy of ServiceException with additional data.

References new(), and pAdditionalData.

◆ withAdditionalData()

ServiceException Dragengine.Services.ServiceException.withAdditionalData ( Object additionalData)

Member Data Documentation

◆ pAdditionalData

Object Dragengine.Services.ServiceException.pAdditionalData

Referenced by new(), and withAdditionalData().

◆ pErrorCategory

Enumeration Dragengine.Services.ServiceException.pErrorCategory

Referenced by new(), and withAdditionalData().

◆ pErrorCode

Enumeration Dragengine.Services.ServiceException.pErrorCode

Referenced by new(), and withAdditionalData().

◆ pService

Service Dragengine.Services.ServiceException.pService

Referenced by getAdditionalData(), and new().


The documentation for this class was generated from the following file: