NonStop JMS C++ API Programmer's Guide
Error Reporting and Messages
NonStop Server for Java Message Service C++ API Programmer’s Guide—526459-002
A-2
NSJMS_NoSuchProperty
NSJMS_NoSuchProperty
NSJMS_NoSuchProperty is thrown when a method attempts to read a non-existent
property.
NSJMS_InvalidConversion
NSJMS_InvalidConversion is thrown when a get method attempts to read a property
using an access type which does not match the property type.
NSJMS_SQLError
NSJMS_SQLError is thrown when a SQL error is returned by the method. The
SQLCODE may be retrieved using the getErrorCode() method.
NSJMS_InvalidClientID
NSJMS_InvalidClientID exception must be thrown when a client attempts to set a client
ID to a value that is rejected by a provider.
NSJMS_InvalidDestination
NSJMS_InvalidDestination exception must be thrown when a destination is not
understood by a provider or is no longer valid.
NSJMS_MessageFormatException
NSJMS_MessageFormatException exception must be thrown when an NSJMS client
attempts to use a data type that is not supported by that type of message. It must also
be thrown when equivalent errors are made with message property values.
NSJMS_IllegalStateException
NSJMS_IllegalStateException exception is thrown when a method is invoked at an
illegal or inappropriate time or if the provider is not in an appropriate state for the
requested operation.
NSJMS_NullPointerException
NSJMS_NullPointerException exception must be thrown when a JMS client attempts to
use a null pointer.
NSJMS_MemoryAllocationException
NSJMS_MemoryAllocationException exception must be thrown when a memory
allocation problem occurs in the system.