|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.essbase.api.base.EssException
The EssException class is an exception thrown by the Essbase.
Field Summary |
Fields inherited from interface com.essbase.api.base.IEssException |
ERROR_INVALID_SESSION_ID, ERROR_INVALID_USER_OR_PASSWORD, ERROR_NATIVE_FROM_OLAP_SERVER, ERROR_NEW_PROP_VALUE_SAME_AS_OLD, ERROR_OBJECT_ALREADY_EXISTS, ERROR_OBJECT_IS_CLOSED, ERROR_OBJECT_NOT_FOUND, ERROR_UNCATEGORIZED |
Constructor Summary | |
EssException()
|
|
EssException(java.lang.Exception x)
|
|
EssException(int code,
java.lang.String message,
int nativeCode,
java.lang.String nativeMessage)
|
|
EssException(java.lang.String message)
|
|
EssException(java.lang.String message,
int code)
|
Method Summary | |
int |
getCode()
Gets the error code. |
java.lang.String |
getMessage()
Gets the error message. |
int |
getNativeCode()
Gets the native error code. |
java.lang.String |
getNativeMessage()
Gets the native error message. |
void |
setCode(int code)
Sets the error code. |
void |
setMessage(java.lang.String message)
Sets the error message. |
void |
setNativeCode(int nativeCode)
Sets the native error code. |
void |
setNativeMessage(java.lang.String message)
Sets the native error message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EssException()
public EssException(java.lang.String message)
public EssException(java.lang.String message, int code)
public EssException(int code, java.lang.String message, int nativeCode, java.lang.String nativeMessage)
public EssException(java.lang.Exception x)
Method Detail |
public int getCode()
IEssException
getCode
in interface IEssException
public void setCode(int code)
IEssException
setCode
in interface IEssException
code
- The error code.public java.lang.String getMessage()
IEssException
getMessage
in interface IEssException
public void setMessage(java.lang.String message)
IEssException
setMessage
in interface IEssException
message
- The error message.public int getNativeCode()
IEssException
getNativeCode
in interface IEssException
public void setNativeCode(int nativeCode)
IEssException
setNativeCode
in interface IEssException
nativeCode
- The native error code.public java.lang.String getNativeMessage()
IEssException
getNativeMessage
in interface IEssException
public void setNativeMessage(java.lang.String message)
IEssException
setNativeMessage
in interface IEssException
message
- The native error message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |