oracle.panama.mp
Class MPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--oracle.panama.PanamaException
                    |
                    +--oracle.panama.mp.LMSException
                          |
                          +--oracle.panama.mp.MPException
All Implemented Interfaces:
NestedException, java.io.Serializable

public class MPException
extends LMSException

MPException class. Mobile Positioning Exception.

See Also:
Serialized Form

Constructor Summary
MPException()
          Constructor
MPException(int id, java.lang.String str)
          Constructor.
MPException(java.lang.String str)
          Constructor.
 
Method Summary
TypeMethod
 java.lang.String getErrorMessage()
          Returns an error message.
 
Methods inherited from class oracle.panama.PanamaException
getDetail
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MPException

public MPException()
Constructor

MPException

public MPException(java.lang.String str)
Constructor. Create an MPException object with an error message.
Parameters:
str - A String representing the error message.

MPException

public MPException(int id,
                   java.lang.String str)
Constructor. Create an MPException object with an error id and an error message. Error ID and error message are provider-specific. When you write your mobile positioning implementation, you should pass appropriate error id and message when your throw an MPException.
Parameters:
id - An integer representing the error ID.
str - A string representing the error message.
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Returns an error message. If there is no error, then this function returns null.