Oracle Application Server Wireless Java API Reference
B10400-01

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:
oracle.xml.xforms.exception.NestedException, java.io.Serializable

public class MPException
extends LMSException

MPException class. Mobile Positioning Exception.

See Also:
Serialized Form

Field Summary
static java.lang.String PROVIDERS_FAILURE
           
static int PROVIDERS_FAILURE_ID
           

 

Constructor Summary
MPException()
          Constructor
MPException(int id, java.lang.String str)
          Constructor.
MPException(java.lang.String str)
          Constructor.

 

Method Summary
 java.lang.String getErrorMessage()
          Returns an error message.

 

Methods inherited from class oracle.panama.PanamaException
getDetail, getLocalizedMessage, getLocalizedMessage, getMessage, setMessageArguments, setMessageCode, toString

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

PROVIDERS_FAILURE_ID

public static final int PROVIDERS_FAILURE_ID
See Also:
Constant Field Values

PROVIDERS_FAILURE

public static final java.lang.String PROVIDERS_FAILURE
See Also:
Constant Field Values
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.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.