org.hibersap
Class SapException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hibersap.HibersapException
org.hibersap.SapException
- All Implemented Interfaces:
- Serializable
public class SapException
- extends HibersapException
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.interceptor.impl.SapErrorInterceptor but can be utilized by
the application to make its own evaluations of SAP return structures.
- Author:
- Carsten Erker
- See Also:
SapErrorInterceptor
,
Serialized Form
Nested Class Summary |
static class |
SapException.SapError
Hold information about (error, warning, info, etc.) values returned by a SAP function. |
SapException
public SapException(List<SapException.SapError> sapErrors)
SapException
public SapException(SapException.SapError sapError)
getErrors
public List<SapException.SapError> getErrors()
toString
public String toString()
- Overrides:
toString
in class Throwable
Copyright © 2011 akquinet tech@spree GmbH. All Rights Reserved.