javax.microedition.ipdr
Class DataException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.microedition.ipdr.DataException
All Implemented Interfaces:
java.io.Serializable

public final class DataException
extends java.lang.Exception

Represents an exception that is thrown when there is an error regarding the protocol data.

Not to be confused with ProtocolMalformedMsgException, which is used when the message itself is messed up.

Version:
1.0
Author:
Shai Gotlib
See Also:
javax.microedition.protocol.ProtocolMalformedMsgException

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
DataException(java.lang.Object o, java.lang.String function, java.lang.String msg)
          Creates the exception from the object (e.g., the running thread), the function (or method) in the object, and the message.
DataException(java.lang.String msg)
          Creates the exception from a single string.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataException

public DataException(java.lang.String msg)
Creates the exception from a single string.

Parameters:
msg - message that describes what went wrong.

DataException

public DataException(java.lang.Object o,
                     java.lang.String function,
                     java.lang.String msg)
Creates the exception from the object (e.g., the running thread), the function (or method) in the object, and the message.

Parameters:
o - the object (e.g. the running thread).
function - the function (or method) in the object.
msg - message that describes what went wrong.