com.sap.netweaver.bc.serialize

Class AdapterCode

java.lang.Object
  extended by com.sap.netweaver.bc.serialize.AdapterCode

public final class AdapterCode
extends Object

holds a number of constants to define the result of an operation within the serialization on a technical level. The code of the constants are defined as follows:
0-999 error codes
1000-1999 success codes
2000-2999 warning codes
the descriptions are not translated and are not intended for the end user. However, they might be used by calling classes to react on. The Result class will always include an AdapterCode. Since all operations of the deserialization will return a result-class instance, the calling class will always be able to extract the adapter code from the operation. However, the default-constructor of the Result class will set the adapter-code to UNSPECIFIED, which might be returned instead of a more detailed explanation.

Copyright 2004 SAP AG


Field Summary
static AdapterCode COULD_NOT_CREATE_RESOURCE
           
static AdapterCode ERROR_EXCEPTION_IN_PARSING
           
static AdapterCode ERROR_EXCEPTION_IN_SERIALIZER
           
static AdapterCode ERROR_NO_SERIALIZER_AVAILABLE_FOR_IMPORT
           
static AdapterCode EXCEPTION_IN_RF_FRAMEWORK
           
static AdapterCode NO_PROPERTIES_SUPPORTED
           
static AdapterCode SUCCESS
           
static AdapterCode SUCCESS_CREATED_RESOURCE
           
static AdapterCode SUCCESS_NO_SERIALIZER_DATA
           
static AdapterCode SUCCESS_RESOURCE_DATA
           
static AdapterCode UNSPECIFIED
           
static AdapterCode WARNING_NO_MODIFICATION_NEEDED
           
 
Method Summary
 boolean equals(Object o)
           
 int getCode()
           
 String getDescription()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SUCCESS

public static final AdapterCode SUCCESS

SUCCESS_CREATED_RESOURCE

public static final AdapterCode SUCCESS_CREATED_RESOURCE

SUCCESS_RESOURCE_DATA

public static final AdapterCode SUCCESS_RESOURCE_DATA

SUCCESS_NO_SERIALIZER_DATA

public static final AdapterCode SUCCESS_NO_SERIALIZER_DATA

UNSPECIFIED

public static final AdapterCode UNSPECIFIED

NO_PROPERTIES_SUPPORTED

public static final AdapterCode NO_PROPERTIES_SUPPORTED

COULD_NOT_CREATE_RESOURCE

public static final AdapterCode COULD_NOT_CREATE_RESOURCE

EXCEPTION_IN_RF_FRAMEWORK

public static final AdapterCode EXCEPTION_IN_RF_FRAMEWORK

ERROR_NO_SERIALIZER_AVAILABLE_FOR_IMPORT

public static final AdapterCode ERROR_NO_SERIALIZER_AVAILABLE_FOR_IMPORT

ERROR_EXCEPTION_IN_SERIALIZER

public static final AdapterCode ERROR_EXCEPTION_IN_SERIALIZER

ERROR_EXCEPTION_IN_PARSING

public static final AdapterCode ERROR_EXCEPTION_IN_PARSING

WARNING_NO_MODIFICATION_NEEDED

public static final AdapterCode WARNING_NO_MODIFICATION_NEEDED
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getCode

public int getCode()

getDescription

public String getDescription()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice