Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit

ie.ncl.msg
Class MessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ie.ncl.msg.MessageException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MessageQueuesFullException, NBSException, TemporaryMessageException

public class MessageException
extends java.lang.Exception

This exception class is used to indicate a problem with a specific message - being sent or received. Underlying transport connection errors are handled using the ConnectionException.

See Also:
ConnectionException, Serialized Form

Field Summary
static int InternalMessageQueuesFullError
           
static int InternalSDKError
           
 
Constructor Summary
MessageException(java.lang.String s)
           
MessageException(java.lang.String s, int errorCode)
           
 
Method Summary
 int getErrorCode()
          Get the message send error code.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

InternalSDKError

public static final int InternalSDKError
See Also:
Constant Field Values

InternalMessageQueuesFullError

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

MessageException

public MessageException(java.lang.String s)

MessageException

public MessageException(java.lang.String s,
                        int errorCode)
Method Detail

getErrorCode

public int getErrorCode()
Get the message send error code. This error code is protocol specific and for informational purposes only

Returns:
error code

Experts in SMS and MMS Technology. NCLs Provato is an SMS/MMS Gateway supporting  WAP Push, EMS, MMS, SMS, Nokia Smart Messaging, SMPP, CIMD, UCP, MM7, M20, TC35 NCL Technologies Ltd
Provato - SMS MMS Gateway
Mobile Messaging in J2EE & .NET

SwiftNote - Java SMS Toolkit