|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.netweaver.bc.uwl.UWLException
com.sap.netweaver.bc.uwl.substitution.SubstitutionException
public class SubstitutionException
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
ErrorMessages,
Serialized Form| Constructor Summary | |
|---|---|
SubstitutionException(int code)
Use this api when sure about the error code to use |
|
SubstitutionException(int code,
String message)
* Use this api when sure about the error code to use |
|
SubstitutionException(int code,
Throwable original)
* Use this api when sure about the error code to use |
|
SubstitutionException(String message)
Use this api to provide error message without error code |
|
SubstitutionException(Throwable original)
|
|
| Method Summary |
|---|
| Methods inherited from class com.sap.netweaver.bc.uwl.UWLException |
|---|
getCode, getLocalizedMessage, getMessage, getOriginalException, getUwlExceptionID, printStackTrace, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubstitutionException(int code)
code - error code defined in ErrorMessages.Codes
public SubstitutionException(int code,
String message)
code - error code defined in ErrorMessages.Codesmessage - argument or additional message
public SubstitutionException(int code,
Throwable original)
code - error code defined in ErrorMessages.Codesoriginal - the original exceptionpublic SubstitutionException(String message)
message - public SubstitutionException(Throwable original)
|
SAP NetWeaver 7.11 (EhP1 SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||