|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibersap.HibersapException
org.hibersap.SapException
public class SapException
A SapException holds error messages corresponding to the values of SAP return structures. These are commonly used in SAP functions to inform the client about any errors, warnings or other information. It is used by the org.hibersap.session.SapErrorInterceptor but can be utilized by the application to make its own evaluations of SAP return structures.
SapErrorInterceptor
,
Serialized FormNested Class Summary | |
---|---|
static class |
SapException.SapError
Hold information about (error, warning, info, etc.) values returned by a SAP function. |
Constructor Summary | |
---|---|
SapException(java.util.List<SapException.SapError> sapErrors)
|
|
SapException(SapException.SapError sapError)
|
Method Summary | |
---|---|
java.util.List<SapException.SapError> |
getErrors()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SapException(java.util.List<SapException.SapError> sapErrors)
public SapException(SapException.SapError sapError)
Method Detail |
---|
public java.util.List<SapException.SapError> getErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |