|
SAP NetWeaver '04 | |||||||||
| 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.sap.exception.BaseException
com.sap.security.core.server.vsi.api.exception.VSIServiceException
Root exception for all exceptions of the VSI Service. Where necessary, further refinements are possible.
History:
1.0 Initial Version for SAP NetWeaver 04
1.5 Enhancements in the native VSI layer
1.6 Dual runtime support (JAVA standalone and J2EE)
| Field Summary | |
static String |
EXPLANATION_FINALLY_EXCEPTION
|
| Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
| Constructor Summary | |
VSIServiceException(Location location,
VSIServiceMessage message,
Throwable rootCause)
Constructor for VSIServiceException. |
|
VSIServiceException(Throwable wrappedThrowable)
Constructor for VSIServiceException. |
|
VSIServiceException(VSIServiceMessage message,
int lastErrorRC,
Throwable cause)
Constructor for VSIServiceException. |
|
VSIServiceException(VSIServiceMessage message,
Throwable cause)
Constructor for VSIServiceException. |
|
| Method Summary | |
VSIServiceMessage |
getIDMessage()
Return the outermost available VSIMessage object in the
exception. |
String |
getLastErrorKey()
Return the last orrured error code key in printable form (String). |
int |
getLastErrorRC()
Return the last occured error code. |
String |
getMessage()
This method is not implemented in the SAP Exception Framework, but must be present for compatibility with Throwable. |
boolean |
isExternalizable()
|
String |
logIDException(int severity,
Category category,
Location location,
String sublocation)
Log this instance of the VSIServiceException.
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String EXPLANATION_FINALLY_EXCEPTION
| Constructor Detail |
public VSIServiceException(Location location,
VSIServiceMessage message,
Throwable rootCause)
VSIServiceException#VSIServiceException(VSIMessage, Throwable)public VSIServiceException(Throwable wrappedThrowable)
wrappedThrowable - Throwable error cause
public VSIServiceException(VSIServiceMessage message,
Throwable cause)
message - VSIMessage Message from VSI text poolcause - Throwable error cause
public VSIServiceException(VSIServiceMessage message,
int lastErrorRC,
Throwable cause)
message - VSIMessage Message from VSI text poollastErrorRC - The last occured error return code.cause - Throwable error cause| Method Detail |
public int getLastErrorRC()
VSIConstansVSIConstantspublic String getLastErrorKey()
VSIConstans as Stringpublic VSIServiceMessage getIDMessage()
VSIMessage object in the
exception.
VSIMessage as described above.public boolean isExternalizable()
ExternalizableExceptionpublic String getMessage()
Throwable.
getMessage in class BaseExceptionBaseException.getLocalizedMessage()
public String logIDException(int severity,
Category category,
Location location,
String sublocation)
VSIServiceException.
This includes the following steps:
severity - One of the constants in class Severitycategory - The Category under which the exception should be
logged. This refers to the exception message text (nested,
non-localized).location - The location for the exception audit. Using this location, the
stack trace of the exception will be logged, using the
audit category as relative (currently "/System/Audit").sublocation - The method name for the location.
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||