org.csapi.jr.se.mmm
Class MessagingError

java.lang.Object
  extended byorg.csapi.jr.se.mmm.MessagingError
All Implemented Interfaces:
java.io.Serializable

public final class MessagingError
extends java.lang.Object
implements java.io.Serializable

A set of general error identifiers to include in Err methods.

See Also:
Serialized Form

Field Summary
static int _MMM_ERROR_CANNOT_CANCEL
          The message cannot be cancelled
static int _MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
          The address type does not match the message delivery type
static int _MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
          The message format does not match the message delivery type
static int _MMM_ERROR_INFORMATION_NOT_AVAILABLE
          The requested information is not available, for example message status information
static int _MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION
          Authentication Information is not valid
static int _MMM_ERROR_INVALID_CRITERIA
          The criteria specified are invalid
static int _MMM_ERROR_INVALID_DELIVERY_TIME
          The requested delivery time is invalid
static int _MMM_ERROR_INVALID_DELIVERY_TYPE
          The delivery mechanism specified is invalid or is not supported
static int _MMM_ERROR_INVALID_FOLDER_ID
          The folder ID is invalid
static int _MMM_ERROR_INVALID_HEADER
          The message header is invalid
static int _MMM_ERROR_INVALID_ID
          The BillingID is invalid
static int _MMM_ERROR_INVALID_MAILBOX
          Chosen Mailbox Address is invalid
static int _MMM_ERROR_INVALID_MESSAGE_ID
          The message ID is invalid
static int _MMM_ERROR_INVALID_NESTING_LEVEL
          The nesting level is invalid
static int _MMM_ERROR_INVALID_PART_ID
          The part ID is invalid
static int _MMM_ERROR_INVALID_VALIDITY_TIME
          The requested validity time is invalid
static int _MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED
          The maximum size of a message has been exceeded
static int _MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED
          The maximum size of the subject field has been exceeded
static int _MMM_ERROR_RESOURCE_TIMEOUT
          The request has been accepted by the resource but it did not report a result.
static int _MMM_ERROR_RESOURCE_UNAVAILABLE
          The information resources used by the messaging service are unavailable, for example due to an overload situation.
static int _MMM_ERROR_UNDEFINED
          Undefined
static int _MMM_INVALID_NETWORK_STATE
          Although the sequence of method calls is allowed by the gateway, the underlying protocol cannot support it.
static MessagingError MMM_ERROR_CANNOT_CANCEL
          The message cannot be cancelled
static MessagingError MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
          The address type does not match the message delivery type
static MessagingError MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
          The message format does not match the message delivery type
static MessagingError MMM_ERROR_INFORMATION_NOT_AVAILABLE
          The requested information is not available, for example message status information
static MessagingError MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION
          Authentication Information is not valid
static MessagingError MMM_ERROR_INVALID_CRITERIA
          The criteria specified are invalid
static MessagingError MMM_ERROR_INVALID_DELIVERY_TIME
          The requested delivery time is invalid
static MessagingError MMM_ERROR_INVALID_DELIVERY_TYPE
          The delivery mechanism specified is invalid or is not supported
static MessagingError MMM_ERROR_INVALID_FOLDER_ID
          The folder ID is invalid
static MessagingError MMM_ERROR_INVALID_HEADER
          The message header is invalid
static MessagingError MMM_ERROR_INVALID_ID
          The BillingID is invalid
static MessagingError MMM_ERROR_INVALID_MAILBOX
          Chosen Mailbox Address is invalid
static MessagingError MMM_ERROR_INVALID_MESSAGE_ID
          The message ID is invalid
static MessagingError MMM_ERROR_INVALID_NESTING_LEVEL
          The nesting level is invalid
static MessagingError MMM_ERROR_INVALID_PART_ID
          The part ID is invalid
static MessagingError MMM_ERROR_INVALID_VALIDITY_TIME
          The requested validity time is invalid
static MessagingError MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED
          The maximum size of a message has been exceeded
static MessagingError MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED
          The maximum size of the subject field has been exceeded
static MessagingError MMM_ERROR_RESOURCE_TIMEOUT
          The request has been accepted by the resource but it did not report a result.
static MessagingError MMM_ERROR_RESOURCE_UNAVAILABLE
          The information resources used by the messaging service are unavailable, for example due to an overload situation.
static MessagingError MMM_ERROR_UNDEFINED
          Undefined
static MessagingError MMM_INVALID_NETWORK_STATE
          Although the sequence of method calls is allowed by the gateway, the underlying protocol cannot support it.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static MessagingError getObject(int value)
          Accepts values in the range of 0 to 21
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_MMM_ERROR_UNDEFINED

public static final int _MMM_ERROR_UNDEFINED
Undefined

See Also:
Constant Field Values

MMM_ERROR_UNDEFINED

public static final MessagingError MMM_ERROR_UNDEFINED
Undefined


_MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION

public static final int _MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION
Authentication Information is not valid

See Also:
Constant Field Values

MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION

public static final MessagingError MMM_ERROR_INVALID_AUTHENTICATION_INFORMATION
Authentication Information is not valid


_MMM_ERROR_INVALID_MAILBOX

public static final int _MMM_ERROR_INVALID_MAILBOX
Chosen Mailbox Address is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_MAILBOX

public static final MessagingError MMM_ERROR_INVALID_MAILBOX
Chosen Mailbox Address is invalid


_MMM_ERROR_INVALID_DELIVERY_TYPE

public static final int _MMM_ERROR_INVALID_DELIVERY_TYPE
The delivery mechanism specified is invalid or is not supported

See Also:
Constant Field Values

MMM_ERROR_INVALID_DELIVERY_TYPE

public static final MessagingError MMM_ERROR_INVALID_DELIVERY_TYPE
The delivery mechanism specified is invalid or is not supported


_MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED

public static final int _MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED
The maximum size of a message has been exceeded

See Also:
Constant Field Values

MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED

public static final MessagingError MMM_ERROR_MAX_MESSAGE_SIZE_EXCEEDED
The maximum size of a message has been exceeded


_MMM_ERROR_INVALID_FOLDER_ID

public static final int _MMM_ERROR_INVALID_FOLDER_ID
The folder ID is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_FOLDER_ID

public static final MessagingError MMM_ERROR_INVALID_FOLDER_ID
The folder ID is invalid


_MMM_ERROR_INVALID_MESSAGE_ID

public static final int _MMM_ERROR_INVALID_MESSAGE_ID
The message ID is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_MESSAGE_ID

public static final MessagingError MMM_ERROR_INVALID_MESSAGE_ID
The message ID is invalid


_MMM_ERROR_INVALID_PART_ID

public static final int _MMM_ERROR_INVALID_PART_ID
The part ID is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_PART_ID

public static final MessagingError MMM_ERROR_INVALID_PART_ID
The part ID is invalid


_MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH

public static final int _MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
The address type does not match the message delivery type

See Also:
Constant Field Values

MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH

public static final MessagingError MMM_ERROR_DELIVERY_TYPE_ADDRESS_TYPE_MISMATCH
The address type does not match the message delivery type


_MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH

public static final int _MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
The message format does not match the message delivery type

See Also:
Constant Field Values

MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH

public static final MessagingError MMM_ERROR_DELIVERY_TYPE_MESSAGE_TYPE_MISMATCH
The message format does not match the message delivery type


_MMM_ERROR_INVALID_DELIVERY_TIME

public static final int _MMM_ERROR_INVALID_DELIVERY_TIME
The requested delivery time is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_DELIVERY_TIME

public static final MessagingError MMM_ERROR_INVALID_DELIVERY_TIME
The requested delivery time is invalid


_MMM_ERROR_INVALID_VALIDITY_TIME

public static final int _MMM_ERROR_INVALID_VALIDITY_TIME
The requested validity time is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_VALIDITY_TIME

public static final MessagingError MMM_ERROR_INVALID_VALIDITY_TIME
The requested validity time is invalid


_MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED

public static final int _MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED
The maximum size of the subject field has been exceeded

See Also:
Constant Field Values

MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED

public static final MessagingError MMM_ERROR_MAX_SUBJECT_SIZE_EXCEEDED
The maximum size of the subject field has been exceeded


_MMM_ERROR_INVALID_ID

public static final int _MMM_ERROR_INVALID_ID
The BillingID is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_ID

public static final MessagingError MMM_ERROR_INVALID_ID
The BillingID is invalid


_MMM_ERROR_INVALID_NESTING_LEVEL

public static final int _MMM_ERROR_INVALID_NESTING_LEVEL
The nesting level is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_NESTING_LEVEL

public static final MessagingError MMM_ERROR_INVALID_NESTING_LEVEL
The nesting level is invalid


_MMM_ERROR_INVALID_CRITERIA

public static final int _MMM_ERROR_INVALID_CRITERIA
The criteria specified are invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_CRITERIA

public static final MessagingError MMM_ERROR_INVALID_CRITERIA
The criteria specified are invalid


_MMM_ERROR_INFORMATION_NOT_AVAILABLE

public static final int _MMM_ERROR_INFORMATION_NOT_AVAILABLE
The requested information is not available, for example message status information

See Also:
Constant Field Values

MMM_ERROR_INFORMATION_NOT_AVAILABLE

public static final MessagingError MMM_ERROR_INFORMATION_NOT_AVAILABLE
The requested information is not available, for example message status information


_MMM_ERROR_CANNOT_CANCEL

public static final int _MMM_ERROR_CANNOT_CANCEL
The message cannot be cancelled

See Also:
Constant Field Values

MMM_ERROR_CANNOT_CANCEL

public static final MessagingError MMM_ERROR_CANNOT_CANCEL
The message cannot be cancelled


_MMM_ERROR_INVALID_HEADER

public static final int _MMM_ERROR_INVALID_HEADER
The message header is invalid

See Also:
Constant Field Values

MMM_ERROR_INVALID_HEADER

public static final MessagingError MMM_ERROR_INVALID_HEADER
The message header is invalid


_MMM_INVALID_NETWORK_STATE

public static final int _MMM_INVALID_NETWORK_STATE
Although the sequence of method calls is allowed by the gateway, the underlying protocol cannot support it.

See Also:
Constant Field Values

MMM_INVALID_NETWORK_STATE

public static final MessagingError MMM_INVALID_NETWORK_STATE
Although the sequence of method calls is allowed by the gateway, the underlying protocol cannot support it.


_MMM_ERROR_RESOURCE_UNAVAILABLE

public static final int _MMM_ERROR_RESOURCE_UNAVAILABLE
The information resources used by the messaging service are unavailable, for example due to an overload situation.

See Also:
Constant Field Values

MMM_ERROR_RESOURCE_UNAVAILABLE

public static final MessagingError MMM_ERROR_RESOURCE_UNAVAILABLE
The information resources used by the messaging service are unavailable, for example due to an overload situation.


_MMM_ERROR_RESOURCE_TIMEOUT

public static final int _MMM_ERROR_RESOURCE_TIMEOUT
The request has been accepted by the resource but it did not report a result.

See Also:
Constant Field Values

MMM_ERROR_RESOURCE_TIMEOUT

public static final MessagingError MMM_ERROR_RESOURCE_TIMEOUT
The request has been accepted by the resource but it did not report a result.

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the MessagingError object

getObject

public static MessagingError getObject(int value)
                                throws InvalidEnumValueException
Accepts values in the range of 0 to 21

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.