com.sap.netweaver.bc.uwl.substitution
Class SubstitutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sap.netweaver.bc.uwl.UWLException
com.sap.netweaver.bc.uwl.substitution.SubstitutionException
- All Implemented Interfaces:
- Serializable
public class SubstitutionException
- extends UWLException
This exception is thrown by substitution related methods.
SubstitutionException is thrown by all Substituion Connectors in case of
substitution problem.
Also, if any relevant calls related to subsitution fails in the provider system,
then throw the exception.
Connector should try to use error codes available in ErrorMessages.Codes
whenever it is appropriate:
ErrorMessages.Codes.NO_SUBSTITUTION_SUPPORT
ErrorMessages.Codes.UNKNOWN_SUBSTITUTION_PROFILE
ErrorMessages.Codes.NO_SUBSTITUTION_ON_OFF_SUPPORT
ErrorMessages.Codes.SUBSTITUTION_ALREADY_EXIST
ErrorMessages.Codes.NO_DATE_SUPPORT_FOR_SUBSTITUTION
ErrorMessages.Codes.JCO_CONNECTION_PROBLEM
ErrorMessages.Codes.INCOMPATIBLE_PORTALUSER
ErrorMessages.Codes.SUBPROFILE_NOT_SUPPORTED
ErrorMessages.Codes.MULTIPLE_SUBPROFILE_NOT_SUPPORTED
ErrorMessages.Codes.ERROR_FROM_PROVIDER
- See Also:
ErrorMessages,
Serialized Form
SubstitutionException
public SubstitutionException(int code)
- Use this api when sure about the error code to use
- Parameters:
code - error code defined in ErrorMessages.Codes
SubstitutionException
public SubstitutionException(int code,
String message)
- * Use this api when sure about the error code to use
- Parameters:
code - error code defined in ErrorMessages.Codesmessage - argument or additional message
SubstitutionException
public SubstitutionException(int code,
Throwable original)
- * Use this api when sure about the error code to use
- Parameters:
code - error code defined in ErrorMessages.Codesoriginal - the original exception
SubstitutionException
public SubstitutionException(String message)
- Use this api to provide error message without error code
- Parameters:
message -
SubstitutionException
public SubstitutionException(Throwable original)
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
Copyright 2011 SAP AG Complete Copyright Notice