|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.1 Added a pattern for clean test.
1.5 Enhancements in the native VSI layer
1.6 Dual runtime support (JAVA standalone and J2EE)
| Field Summary | |
static java.lang.String |
EXPLANATION_FINALLY_EXCEPTION
|
| Constructor Summary | |
VSIServiceException(com.sap.tc.logging.Location location,
VSIServiceMessage message,
java.lang.Throwable rootCause)
Constructor for VSIServiceException. |
|
VSIServiceException(java.lang.Throwable wrappedThrowable)
Constructor for VSIServiceException. |
|
VSIServiceException(VSIServiceMessage message,
int lastErrorRC,
java.lang.Throwable cause)
Constructor for VSIServiceException. |
|
VSIServiceException(VSIServiceMessage message,
java.lang.Throwable cause)
Constructor for VSIServiceException. |
|
| Method Summary | |
VSIServiceMessage |
getIDMessage()
Return the outermost available VSIMessage object in the
exception. |
java.lang.String |
getLastErrorKey()
Return the last orrured error code key in printable form (String). |
int |
getLastErrorRC()
Return the last occured error code. |
java.lang.String |
getMessage()
This method is not implemented in the SAP Exception Framework, but must be present for compatibility with Throwable. |
boolean |
isExternalizable()
|
java.lang.String |
logIDException(int severity,
com.sap.tc.logging.Category category,
com.sap.tc.logging.Location location,
java.lang.String sublocation)
Log this instance of the VSIServiceException.
|
| Field Detail |
public static final java.lang.String EXPLANATION_FINALLY_EXCEPTION
| Constructor Detail |
public VSIServiceException(com.sap.tc.logging.Location location,
VSIServiceMessage message,
java.lang.Throwable rootCause)
VSIServiceException(Location, VSIServiceMessage, Throwable)public VSIServiceException(java.lang.Throwable wrappedThrowable)
wrappedThrowable - Throwable error cause
public VSIServiceException(VSIServiceMessage message,
java.lang.Throwable cause)
message - VSIMessage Message from VSI text poolcause - Throwable error cause
public VSIServiceException(VSIServiceMessage message,
int lastErrorRC,
java.lang.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 java.lang.String getLastErrorKey()
VSIConstans as Stringpublic VSIServiceMessage getIDMessage()
VSIMessage object in the
exception.VSIMessage as described above.public boolean isExternalizable()
ExternalizableExceptionpublic java.lang.String getMessage()
Throwable.
public java.lang.String logIDException(int severity,
com.sap.tc.logging.Category category,
com.sap.tc.logging.Location location,
java.lang.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||