Skip to main content
Skip table of contents

Exceptions and Error Handling

An easy possibility to handle errors within adapters, is throwing exceptions. The class de.softproject.integration.adapter.core.AdapterException allows an error code and a message to be assigned to the root exception.

If the adapter misses parameter values, which can happen during the process modeling, they can throw a de.softproject.integration.adapter.core.MissingParameterException.

Configuration problems should be signalizes by adapters by throwing an de.softproject.integration.adapter.core.AdapterConfigurationException.

AdapterException Methods 

de.softproject.integration.adapter.core.AdapterException

public AdapterException(int reasonCode, String msg)

Constructor for an adapter exception with reasonCode (numeric code to identify fault cases) and msg (to describe the fault case)

public AdapterExeception(String msg, Exception ex)

Constructor for an adapter exception with msg (to describe the fault case) and ex (root exception)

public AdapterException(int reasonCode, String msg,Exception ex)

Constructor for an adapter exception with reasonCode (numeric code to identify fault cases), msg (to describe the fault case), and ex (root exception)

MissingParameterException Methods 

de.softproject.integration.adapter.core.MissingParameterException

public MissingParameterException(int reasonCode, String msg)Constructor for a MissingParameter exception with reasonCode (numeric code to identify fault cases) and msg (to describe the fault case)

AdapterConfigurationException Methods 

de.softproject.integration.adapter.core.AdapterConfigurationException

public AdapterConfigurationException(int reasonCode, String msg)

Constructor for an AdapterConfiguration exception with reasonCode (numeric code to identify fault cases) and msg (to describe the fault case)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.