Skip navigation.
Downloads | Product Documentation | Support

# Jms.h File Reference

A single header file which pulls in all necessary JMS C API header files. More...

`#include <JmsCommon.h>`
`#include <JmsException.h>`
`#include <JmsBrowser.h>`
`#include <JmsBytesMessage.h>`
`#include <JmsConnection.h>`
`#include <JmsMapMessage.h>`
`#include <JmsConsumer.h>`
`#include <JmsDestination.h>`
`#include <JmsEnumeration.h>`
`#include <JmsMessage.h>`
`#include <JmsMetaData.h>`
`#include <JmsProducer.h>`
`#include <JmsQueue.h>`
`#include <JmsSession.h>`
`#include <JmsStreamMessage.h>`
`#include <JmsTextMessage.h>`
`#include <JmsTopic.h>`
`#include <JmsTypes.h>`

Go to the source code of this file.

## Defines
#define | JMS_GOT_EXCEPTION 1
#define | JMS_NO_ERROR 0
#define | JMS_INPUT_PARAM_ERROR -1
#define | JMS_MALLOC_ERROR -2
#define | JMS_JVM_ERROR -3
#define | JMS_NEED_SPACE -4
#define | JMS_INVALID_EXCEPTION_TYPE -5
#define | JMS_SYSTEM_ERROR -6

## Detailed Description

A single header file which pulls in all necessary JMS C API header files.

Author:
  Copyright (c) 2002, BEA Systems, Inc.

## Define Documentation

#define JMS_GOT_EXCEPTION 1

| A return code indicating that an exception occurred in this thread of execution

#define JMS_INPUT_PARAM_ERROR -1

| A return code indicating that an error was detected with one of the input parameters

#define JMS_INVALID_EXCEPTION_TYPE -5

| An attempt was made to extract information from the wrong type of exception

#define JMS_JVM_ERROR -3

| An unexpected error has occurred in the JVM. This return code is only valid if the implementation uses JNI

#define JMS_MALLOC_ERROR -2

| A return code indicating that an attempt to allocated memory failed. Either the heap has run out of memory or the malloc memory arena has been corrupted

#define JMS_NEED_SPACE -4

| There is not enough space in an input parameter for all of the output

#define JMS_NO_ERROR 0

| A return code indicating success

#define JMS_SYSTEM_ERROR -6

| A system error has occurred. The exact nature of the error may be provided in a log file.

Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.