The gateway provides common interfaces to define services such as Java Management
Extension (JMX) authentication, security filters, exception mapping, Open Data Protocol
(OData), and Transmission Control Protocol (TCP).
Exception Mapping
Exceptions thrown by endpoints are automatically caught and mapped to error codes, which are set in the MobiliserResponse object. The base MobiliserServiceException has an implicit error code field that is used for this mapping. Other exceptions are mapped to a constant value, or are configured in this file to those values. To avoid mapping an exception (allowing it to pass), add a mapping to the configuration file that maps it to nothing.