oracle.panama.spatial.eh
Class LBSException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--oracle.panama.spatial.eh.LBSException
- All Implemented Interfaces:
- oracle.xml.xforms.exception.NestedException, java.io.Serializable
- Direct Known Subclasses:
- LBSProxyException, LBSServiceException
- public class LBSException
- extends java.lang.RuntimeException
- implements oracle.xml.xforms.exception.NestedException
Represents location based service exception
- See Also:
- Serialized Form
Constructor Summary |
LBSException(java.lang.String errorCode)
|
LBSException(java.lang.String errorCode, java.lang.Object[] params)
|
LBSException(java.lang.String errorCode, java.lang.Object[] params, java.lang.Throwable exc)
|
LBSException(java.lang.String errorCode, java.lang.Throwable exc)
|
Method Summary |
java.lang.Throwable |
getDetail()
Get the original exception of a NestedException |
java.lang.String |
getErrorCode()
Return the key for the error message. |
java.lang.String |
getLocalizedMessage()
Get the error message in the default language of the exception |
java.lang.String |
getLocalizedMessage(java.util.Locale l)
Get the error message in the specified language of the exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LBSException
public LBSException(java.lang.String errorCode,
java.lang.Object[] params,
java.lang.Throwable exc)
- Parameters:
errorCode
- the key string for error message of the exception.
params
- the parameters embedded in the error message
exc
- the original exception
LBSException
public LBSException(java.lang.String errorCode,
java.lang.Throwable exc)
- Parameters:
errorCode
- the key string for error message of the exception.
exc
- the original exception
LBSException
public LBSException(java.lang.String errorCode,
java.lang.Object[] params)
- Parameters:
errorCode
- the key string for error message of the exception.
params
- the parameters embedded in the error message
LBSException
public LBSException(java.lang.String errorCode)
- Parameters:
errorCode
- the key string for error message of the exception.
getDetail
public java.lang.Throwable getDetail()
- Get the original exception of a
NestedException
-
- Specified by:
getDetail
in interface oracle.xml.xforms.exception.NestedException
-
- Returns:
- a
Throwable
object
getLocalizedMessage
public java.lang.String getLocalizedMessage(java.util.Locale l)
- Get the error message in the specified language of the exception
getLocalizedMessage
public java.lang.String getLocalizedMessage()
- Get the error message in the default language of the exception
-
- Overrides:
getLocalizedMessage
in class java.lang.Throwable
getErrorCode
public java.lang.String getErrorCode()
- Return the key for the error message.
Copyright © 2003 Oracle Corporation. All Rights Reserved.