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:
- NestedException, java.io.Serializable
- Direct Known Subclasses:
- LBSProxyException, LBSServiceException
- public class LBSException
- extends java.lang.RuntimeException
- implements NestedException
Represents location based service exception
- See Also:
- Serialized Form
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)
|
Type | Method |
java.lang.Throwable |
getDetail()
Get the original exception of a oracle.panama.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, getMessage, printStackTrace, printStackTrace, printStackTrace, 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 messageexc
- 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
oracle.panama.NestedException
- Specified by:
getDetail
in interface 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.