Error Class XN: Network Client Exceptions

Error Class XN: Network Client Exceptions
SQLSTATE Message Text
XN001.S Connection reset is not allowed when inside a unit of work.
XN008.S Query processing has been terminated due to an error on the server.
XN009.S Error obtaining length of BLOB/CLOB object, exception follows.
XN010.S Procedure name can not be null.
XN011.S Procedure name length <number> is not within the valid range of 1 to <number>.
XN012.S On <operatingSystemName> platforms, XA supports version <versionNumber> and above, this is version <versionNumber>
XN013.S Invalid scroll orientation.
XN014.S Encountered an Exception while reading from the stream specified by parameter #<value>. The remaining data expected by the server has been filled with 0x0. The Exception had this message: <messageText>.
XN015.S Network protocol error: the specified size of the InputStream, parameter #<value>, is less than the actual InputStream length.
XN016.S Encountered an Exception while trying to verify the length of the stream specified by parameter #<value>. The Exception had this message: <messageText>.
XN017.S End of stream prematurely reached while reading the stream specified by parameter #<value>. The remaining data expected by the server has been filled with 0x0.
XN018.S Network protocol error: the specified size of the Reader, parameter #<value>, is less than the actual InputStream length.
XN019.S Error executing a <value>, server returned <value>.
XN020.S Error marshalling or unmarshalling a user defined type: <messageDetail>
XN021.S An object of type <sourceClassName> cannot be cast to an object of type <targetClassName>.