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
This class is used to represent Mobile Positioning Exceptions.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getErrorMessage()
Returns an error message. |
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 |
PROVIDERS_FAILURE
public static final java.lang.String PROVIDERS_FAILURE
- The error string indicating provider failure
- See Also:
- Constant Field Values
PROVIDERS_FAILURE_ID
public static final int PROVIDERS_FAILURE_ID
- The error constant indicating provider failure
- See Also:
- Constant Field Values
MPException
public MPException()
- Constructor
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.
MPException
public MPException(java.lang.String str)
- Constructor. Create an MPException object with an error message.
- Parameters:
str
- A String representing the error message.
getErrorMessage
public java.lang.String getErrorMessage()
- Returns an error message. If there is no error, then this function returns null.
Copyright © 2004 Oracle Corporation. All Rights Reserved.