com.sapportals.wcm.rfadapter
Class WcmExceptionTextUtil
java.lang.Object
com.sapportals.wcm.rfadapter.WcmExceptionTextUtil
public final class WcmExceptionTextUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getText
public static String getText(WcmException e,
Locale locale)
- Parameters:
e - the exception to search the text for, must not be nulllocale - the locale to retrieve the text for, must not be null
- Returns:
- the fitting text for the given exception. First the exception's
getLocalizedMessage method is checked. If no text is returned,
this class checks if there is a mapping defined for the given exception class.
If so, the appropriate message is returned.
Otherwise, null will be returned
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