public class DdeException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
ADVACKTIMEOUT
A request for a synchronous advise transaction has timed out.
|
static int |
BUSY
The response to the transaction caused the DDE_FBUSY flag to be set.
|
static int |
DATAACKTIMEOUT
A request for a synchronous data transaction has timed out.
|
static int |
DLL_NOT_INITIALIZED
A DDEML function was called without first calling the DdeInitialize function, or an invalid instance identifier was passed to a DDEML function.
|
static int |
DLL_USAGE
An application initialized as APPCLASS_MONITOR has attempted to perform a Dynamic Data Exchange (DDE)
transaction, or an application initialized as APPCMD_CLIENTONLY has attempted to perform server transactions.
|
static int |
EXECACKTIMEOUT
A request for a synchronous execute transaction has timed out.
|
static int |
INVALIDPARAMETER
A parameter failed to be validated by the DDEML.
|
static int |
LOW_MEMORY
A DDEML application has created a prolonged race condition (in which the server application outruns the client),
causing large amounts of memory to be consumed.
|
static int |
MEMORY_ERROR
A memory allocation has failed.
|
static int |
NO_CONV_ESTABLISHED
Attempt of the client to establish a conversation has failed.
|
static int |
NO_ERROR
The function succeeds
|
static int |
NOTPROCESSED
A transaction has failed.
|
static int |
POKEACKTIMEOUT
A request for a synchronous poke transaction has timed out.
|
static int |
POSTMSG_FAILED
An internal call to the PostMessage function has failed.
|
static int |
REENTRANCY
A synchronous transaction already in progress.
|
static int |
SERVER_DIED
A server-side transaction was attempted on a conversation terminated by the client.
|
static int |
SYS_ERROR
An internal error has occurred in the DDEML.
|
static int |
UNADVACKTIMEOUT
A request to end an advise transaction has timed out.
|
static int |
UNFOUND_QUEUE_ID
An invalid transaction identifier was passed to a DDEML function.
|
Constructor and Description |
---|
DdeException(int errorCode)
Creates an instance of the class with the specified error code
|
DdeException(java.lang.String message)
Creates an instance of the class with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code.
|
public static final int NO_ERROR
public static final int ADVACKTIMEOUT
public static final int BUSY
public static final int DATAACKTIMEOUT
public static final int DLL_NOT_INITIALIZED
public static final int DLL_USAGE
public static final int EXECACKTIMEOUT
public static final int INVALIDPARAMETER
public static final int LOW_MEMORY
public static final int MEMORY_ERROR
public static final int NOTPROCESSED
public static final int NO_CONV_ESTABLISHED
public static final int POKEACKTIMEOUT
public static final int POSTMSG_FAILED
public static final int REENTRANCY
public static final int SERVER_DIED
public static final int SYS_ERROR
public static final int UNADVACKTIMEOUT
public static final int UNFOUND_QUEUE_ID
public DdeException(int errorCode)
errorCode
- Error codepublic DdeException(java.lang.String message)
message
- Error message