|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAbstractException
com.crystaldecisions.sdk.exception.SDKException
com.crystaldecisions.sdk.exception.SDKServerException
public class SDKServerException
This class defines an exception thrown due to a server error.
| Nested Class Summary | |
|---|---|
static class |
SDKServerException.UnknownTrustedAuthUserException
|
| Method Summary | |
|---|---|
java.lang.String |
constructErrorMessage(java.util.ResourceBundle bundle,
java.util.Locale locale,
java.lang.String strID)
|
java.lang.String |
getDetail()
Deprecated. As of version 12.0. Use the SDKServerException.getDetailMessage(Locale locale) method instead. |
java.lang.String |
getDetailMessage(java.util.Locale locale)
Returns the detailed error message used for diagnosis. |
int |
getErrorCode()
Deprecated. As of version 12.0. Use the SDKServerException.getErrorCodeString() method instead. |
java.lang.String |
getErrorCodeString()
Returns the exception code string of this exception. |
int |
getFailedObjectID()
Return the ID of the object which caused the failure in an IInfoStore.commit operation. |
java.lang.String |
getMessage(java.util.Locale locale)
Returns the localized error message for this throwable object. |
static SDKException |
map(oca_abuse e)
Map an oca_abuse exception to the appropriate SDKServerException. |
| Methods inherited from class com.crystaldecisions.sdk.exception.SDKException |
|---|
map, map, map |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SDKException map(oca_abuse e)
Map an oca_abuse exception to the appropriate SDKServerException.
e - The oca_abuse exception to be mapped.public int getErrorCode()
SDKServerException.getErrorCodeString() method instead.
Returns the server error code retrieved from server exception generated on server side. To retrieve the SDK server
exception code that this error code is mapped to, use the getExceptionCode method.
int containing the server error code.public java.lang.String getErrorCodeString()
Returns the exception code string of this exception.
Refer to the "BI Platform Servers (FWB) Error Messages" section in the Error Message Explained guide for a complete list of all BusinessObjects Enterprise server error codes.
public int getFailedObjectID()
IInfoStore.commit operation.
0 if not applicable.public java.lang.String getMessage(java.util.Locale locale)
Returns the localized error message for this throwable object.
This implementation of the getMessage method builds up the message string
using the server's message description.
locale - The locale-specific properties that the message string will use.
String containing the error message string of this
Throwable object if it was created with an
error message string or null if it was created without an error message string.public java.lang.String getDetail()
SDKServerException.getDetailMessage(Locale locale) method instead.
Returns the detailed error message used for diagnosis. The string will contain the message, and nested exceptions if applicable.
public java.lang.String getDetailMessage(java.util.Locale locale)
Returns the detailed error message used for diagnosis. The string will contain the message, and nested exceptions if applicable.
public java.lang.String constructErrorMessage(java.util.ResourceBundle bundle,
java.util.Locale locale,
java.lang.String strID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||