XAException lets you create an exception using an int or a string. The ints are defined based on the XAResource spec. Using ints gives no information to the developer on what went wrong.
We need to build an Enumeration of the ints to the string name for the int and then have a helper function that appends a message from the developer to it. This way the ERROR_CODE is shown along with a helpful message
XAException lets you create an exception using an int or a string. The ints are defined based on the XAResource spec. Using ints gives no information to the developer on what went wrong.
We need to build an Enumeration of the ints to the string name for the int and then have a helper function that appends a message from the developer to it. This way the ERROR_CODE is shown along with a helpful message