public static final class Message.Reason
extends java.lang.Object
Message.setReason(int)
,
Message.getReason()
Modifier and Type | Field and Description |
---|---|
static int |
AuthDisabled
Using the default authenication module, which allows everything.
|
static int |
AuthFailure
Represents authentication failure.
|
static int |
BadFilter
Indicates a problem when the AMPS server reports that a filter could not be successfully processed.
|
static int |
BadRegexTopic
Represents an issue with a regular expression used for topic filtering.
|
static int |
BadSowKey
Represents an issue with the storage of messages.
|
static int |
Deleted
Indicates that the data has been deleted.
|
static int |
Duplicate
When a publish indicates that the message, as identified by the bookmark, is already present in
this instance of AMPS.
|
static int |
DuplicateLogon
When the AMPS server reports that a filter could not be
successfully processed.
|
static int |
Expired
Used when data has exceeded its validity or expiration.
|
static int |
InvalidBookmark
Represents an issue with a bookmark, which is a saved message positions.
|
static int |
InvalidMessageType
Signifies an issue with the message type.
|
static int |
InvalidOptions
Indicates issues with provided options.
|
static int |
InvalidOrderBy
Occurs when there is an issue with the specified ordering of messages.
|
static int |
InvalidSubId
Occurs when an invalid subscription ID is provided.
|
static int |
InvalidTopic
Indicates an issue when the AMPS server reports that the command requested is
not valid for the topic specified.
|
static int |
InvalidTopicOrFilter
Indicates an issue with both the topic and the filter.
|
static int |
LogonFailed
Indicates a failure during the login process.
|
static int |
LogonRequired
Signifies that a login is required to perform the operation.
|
static int |
Match
Signifies a successful match or operation.
|
static int |
NameInUse
When an error occurs with the name of a client.
|
static int |
NoClientName
Occurs when there is no client name provided.
|
static int |
None
This is the default state, typically indicating no specific reason or a successful operation.
|
static int |
NotEntitled
Used when a user doesn't have permission to logon or use a specific topic or command.
|
static int |
NoTopic
Occurs when there is no topic specified.
|
static int |
NoTopicOrFilter
Indicates that neither a topic nor a filter is specified.
|
static int |
NotSupported
Used when an operation or feature is not supported.
|
static int |
OrderByTooLarge
Indicates that the requested order-by condition is too large.
|
static int |
Other
Used for other, unspecified reasons or states.
|
static int |
ParseError
Signifies an error in parsing data.
|
static int |
PublishFilterNoMatch
This might never be used.
|
static int |
RegexTopicNotSupported
Indicates that regular expression topics are not supported.
|
static int |
RejectedByTransportFilter
Used when a message is rejected by a transport filter.
|
static int |
SowCanceled
Occurs when a SOW query is canceled.
|
static int |
SowDeleteInvalid
Represents an attempt to delete invalid state of the world.
|
static int |
SowStoreFailed
Occurs when there is a failure in storing messages.
|
static int |
SubidInUse
When the specified subscription ID is already in use for this client.
|
static int |
SubscriptionAlreadyExists
Occurs when a client attempts to register a subscription that already exists.
|
static int |
TxnReplayFailed
Represents a failure in transaction replay.
|
static int |
TxStoreFailure
Indicates a failure in transactional message storage.
|
Constructor and Description |
---|
Reason() |
public static final int None
public static final int Duplicate
public static final int BadFilter
public static final int BadRegexTopic
public static final int SubscriptionAlreadyExists
public static final int Deleted
public static final int Expired
public static final int Match
public static final int InvalidTopic
public static final int NameInUse
public static final int AuthFailure
public static final int NotEntitled
public static final int AuthDisabled
public static final int InvalidBookmark
public static final int InvalidOrderBy
public static final int SubidInUse
public static final int NoTopic
public static final int LogonFailed
public static final int LogonRequired
public static final int InvalidTopicOrFilter
public static final int InvalidSubId
public static final int NoTopicOrFilter
public static final int NoClientName
public static final int BadSowKey
public static final int RegexTopicNotSupported
public static final int SowStoreFailed
public static final int ParseError
public static final int NotSupported
public static final int TxStoreFailure
public static final int DuplicateLogon
public static final int TxnReplayFailed
public static final int SowCanceled
public static final int InvalidOptions
public static final int InvalidMessageType
public static final int OrderByTooLarge
public static final int RejectedByTransportFilter
public static final int SowDeleteInvalid
public static final int PublishFilterNoMatch
public static final int Other