Drag[en]gine Script Module DragonScript  1.23
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. More...
 
Enumeration getErrorCategory ()
 Service specific error category or null. More...
 
Enumeration getErrorCode ()
 Service specific error code or null. More...
 
Service getService ()
 Service throwing exception. More...
 
ServiceException new (Service service, String message, Enumeration errorCode, Enumeration errorCategory)
 Create ServiceException. More...
 
ServiceException new (Service service, String message, Enumeration errorCode, Enumeration errorCategory, Object additionalData)
 Create ServiceException. More...
 
ServiceException new (ServiceException exception, Object additionalData)
 Create copy of ServiceException with additional data. More...
 
ServiceException withAdditionalData (Object additionalData)
 Create copy of ServiceException with new additional data. More...
 

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.

◆ getErrorCategory()

Enumeration Dragengine.Services.ServiceException.getErrorCategory ( )

Service specific error category or null.

◆ getErrorCode()

Enumeration Dragengine.Services.ServiceException.getErrorCode ( )

Service specific error code or null.

◆ getService()

Service Dragengine.Services.ServiceException.getService ( )

Service throwing exception.

◆ new() [1/3]

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

◆ new() [2/3]

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

◆ new() [3/3]

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

Create copy of ServiceException with additional data.

◆ withAdditionalData()

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

Create copy of ServiceException with new additional data.

Member Data Documentation

◆ pAdditionalData

Object Dragengine.Services.ServiceException.pAdditionalData

◆ pErrorCategory

Enumeration Dragengine.Services.ServiceException.pErrorCategory

◆ pErrorCode

Enumeration Dragengine.Services.ServiceException.pErrorCode

◆ pService

Service Dragengine.Services.ServiceException.pService

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