org.openmms.constants
Class X_Mms_Response_Status

java.lang.Object
  |
  +--org.openmms.constants.X_Mms_Response_Status

public class X_Mms_Response_Status
extends java.lang.Object

Title: MM_StatusFlag

Description: Sets the HTTP status constants for the various responses

Copyright: Copyright (c) 2003 OpenMMS.org


Field Summary
static int Error_content_not_accepted
          The MM content was not accepted due to size, media type or some other reason
static int Error_message_format_corrupt
          An inconsistency with the message formats was detected when the corresponding reqest was parsed
static int Error_message_not_found
          This status code is obsolete
static int Error_network_problem
          The recipient MMS Relay/Server was not able to accept the corresponding request due to capacity overload
static int Error_permanent_content_not_accepted
           
static int Error_permanent_failure
           
static int Error_permanent_message_format_corrupt
           
static int Error_permanent_message_not_found
           
static int Error_permanent_reply_charging_forwarding_denied
           
static int Error_permanent_reply_charging_limitations_not_met
           
static int Error_permanent_reply_charging_not_supported
           
static int Error_permanent_reply_charging_request_not_accepted
           
static int Error_permanent_sending_address_unresolved
           
static int Error_permanent_service_denied
           
static int Error_sending_address_unresolved
          There were no MMS address (From:, To:, Cc:, Bcc:) in its proper format or none of the adresses belong to the recipient MMS Relay/Server
static int Error_service_denied
          The corresponding request was rejected due to failure og authentication or authorisation of the originating MMS Relay/Server
static int Error_transient_failure
           
static int Error_transient_message_not_found
           
static int Error_transient_network_problem
           
static int Error_transient_sending_address_unresolved
           
static int Error_unspecified
          An unspecified error occured during processing or reception of the corresponding request
static int Error_unsupported_message
          The recipient MMS Relay/server does not support the corresponding request abstract message
static int NULL
           
static int Ok
          The corresponding request and som or all of its content were accepted without errors
 
Constructor Summary
X_Mms_Response_Status()
           
 
Method Summary
static java.lang.String get(int nKey)
          Method for accessing the string representation of the error code
static java.lang.String get(java.lang.Object key)
          Method for accessing the string representation of the error code
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final int NULL
See Also:
Constant Field Values

Ok

public static final int Ok
The corresponding request and som or all of its content were accepted without errors

See Also:
Constant Field Values

Error_unspecified

public static final int Error_unspecified
An unspecified error occured during processing or reception of the corresponding request

See Also:
Constant Field Values

Error_service_denied

public static final int Error_service_denied
The corresponding request was rejected due to failure og authentication or authorisation of the originating MMS Relay/Server

See Also:
Constant Field Values

Error_message_format_corrupt

public static final int Error_message_format_corrupt
An inconsistency with the message formats was detected when the corresponding reqest was parsed

See Also:
Constant Field Values

Error_sending_address_unresolved

public static final int Error_sending_address_unresolved
There were no MMS address (From:, To:, Cc:, Bcc:) in its proper format or none of the adresses belong to the recipient MMS Relay/Server

See Also:
Constant Field Values

Error_message_not_found

public static final int Error_message_not_found
This status code is obsolete

See Also:
Constant Field Values

Error_network_problem

public static final int Error_network_problem
The recipient MMS Relay/Server was not able to accept the corresponding request due to capacity overload

See Also:
Constant Field Values

Error_content_not_accepted

public static final int Error_content_not_accepted
The MM content was not accepted due to size, media type or some other reason

See Also:
Constant Field Values

Error_unsupported_message

public static final int Error_unsupported_message
The recipient MMS Relay/server does not support the corresponding request abstract message

See Also:
Constant Field Values

Error_transient_failure

public static final int Error_transient_failure
See Also:
Constant Field Values

Error_transient_sending_address_unresolved

public static final int Error_transient_sending_address_unresolved
See Also:
Constant Field Values

Error_transient_message_not_found

public static final int Error_transient_message_not_found
See Also:
Constant Field Values

Error_transient_network_problem

public static final int Error_transient_network_problem
See Also:
Constant Field Values

Error_permanent_failure

public static final int Error_permanent_failure
See Also:
Constant Field Values

Error_permanent_service_denied

public static final int Error_permanent_service_denied
See Also:
Constant Field Values

Error_permanent_message_format_corrupt

public static final int Error_permanent_message_format_corrupt
See Also:
Constant Field Values

Error_permanent_sending_address_unresolved

public static final int Error_permanent_sending_address_unresolved
See Also:
Constant Field Values

Error_permanent_message_not_found

public static final int Error_permanent_message_not_found
See Also:
Constant Field Values

Error_permanent_content_not_accepted

public static final int Error_permanent_content_not_accepted
See Also:
Constant Field Values

Error_permanent_reply_charging_limitations_not_met

public static final int Error_permanent_reply_charging_limitations_not_met
See Also:
Constant Field Values

Error_permanent_reply_charging_request_not_accepted

public static final int Error_permanent_reply_charging_request_not_accepted
See Also:
Constant Field Values

Error_permanent_reply_charging_forwarding_denied

public static final int Error_permanent_reply_charging_forwarding_denied
See Also:
Constant Field Values

Error_permanent_reply_charging_not_supported

public static final int Error_permanent_reply_charging_not_supported
See Also:
Constant Field Values
Constructor Detail

X_Mms_Response_Status

public X_Mms_Response_Status()
Method Detail

get

public static java.lang.String get(java.lang.Object key)
Method for accessing the string representation of the error code

Parameters:
key -
Returns:
string representation or null

get

public static java.lang.String get(int nKey)
Method for accessing the string representation of the error code

Parameters:
nKey -
Returns:
string representation or null