|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ErrorInfo
The ErrorInfo interface defines a container which carries error information for specific message
implementations in a generic way. Message implementation specific ErrorInfo container implementations can be
retrieved from a given message with the createErrorInfo method and maintained as part of a message with the setter
and getter method.
There's an default implementation of the ErrorInfo container just simply based on a Hashmap with setter and getter
methods for arbitrary error attributes. Each protocol (message format implementation) should extend this abstract
ErrorInfo implementation and offer convenience methods for setting and getting the protocol specific error
information attributes (if the protocol supports explicit error messages).
| Method Summary | |
|---|---|
String |
getAttribute(String name)
Returns the requested ErrorInfo attribute. |
String[] |
getSupportedAttributeNames()
This method can be overwritten by the protocol specific ErrorInfo container implementations to specify, which attribute names are known by the setAttribute method. |
void |
setAttribute(String name,
String value)
Sets an ErrorInfo attribute. |
| Method Detail |
|---|
String[] getSupportedAttributeNames()
void setAttribute(String name,
String value)
throws InvalidParamException
name - The name of the attribute.value - The value of the attribute.
InvalidParamExceptionString getAttribute(String name)
|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||