com.sap.mdm
Interface IMdmException

All Known Subinterfaces:
IMdmConnectorException
All Known Implementing Classes:
AbstractMdmException, AbstractMdmRuntimeException

public interface IMdmException

The common interface for all MDM exceptions.

Since:
7.1 SP08

Method Summary
 String getLocalizedMessage()
          Returns the localized message of the exception translated using current JVM locale.
 String getLocalizedMessage(Locale locale)
          Returns the localized message of the exception translated using the specified locale
 String getLocalizedMessagesTrace()
          Returns the localized trace of all messages including this message and all cause messages translated using current JVM locale.
 String getLocalizedMessagesTrace(Locale locale)
          Returns the localized trace of all messages including this message and all cause messages translated using the specified locale.
 String getLocalizedSourceMessage()
          Returns the localized initial source message of the exception translated using current JVM locale.
 String getLocalizedSourceMessage(Locale locale)
          Returns the localized initial source message of the exception translated using the specified locale.
 String getMessage()
          Returns the localized message of the exception translated using Locale.ENGLISH
 String getMessageKey()
          Returns message key
 Object[] getMessageParameters()
          Returns the message parameters
 String getMessagesTrace()
          Returns the trace of all messages including this message and all cause messages translated using Locale.ENGLISH.
 String getSourceMessage()
          Returns the initial source message of the exception translated using Locale.ENGLISH
 String[] getStackLocalizedMessages()
          Returns the stack of localized message (list of messages including message of this exception and messages of all cause exceptions) translated using current JVM locale.
 String[] getStackLocalizedMessages(Locale locale)
          Returns the stack of localized message (list of messages including message of this exception and messages of all cause exceptions) translated using the specified locale.
 String[] getStackMessages()
          Returns the stack of localized message (list of messages including message of this exception and messages of all cause exceptions) translated using Locale.ENGLISH.
 

Method Detail

getMessageKey

public String getMessageKey()
Returns message key

Returns:
the message key

getMessageParameters

public Object[] getMessageParameters()
Returns the message parameters

Returns:
the message parameters

getLocalizedMessage

public String getLocalizedMessage(Locale locale)
Returns the localized message of the exception translated using the specified locale

Parameters:
locale - specifies the desired language of the translation for the message
Returns:
the localized message

getLocalizedMessage

public String getLocalizedMessage()
Returns the localized message of the exception translated using current JVM locale.

Returns:
the localized message

getMessage

public String getMessage()
Returns the localized message of the exception translated using Locale.ENGLISH

Returns:
the localized message

getStackLocalizedMessages

public String[] getStackLocalizedMessages(Locale locale)
Returns the stack of localized message (list of messages including message of this exception and messages of all cause exceptions) translated using the specified locale.

Parameters:
locale - specifies the desired language of the translation for the messages
Returns:
the stack of the localized messages

getStackLocalizedMessages

public String[] getStackLocalizedMessages()
Returns the stack of localized message (list of messages including message of this exception and messages of all cause exceptions) translated using current JVM locale.

Returns:
the stack of the localized messages

getStackMessages

public String[] getStackMessages()
Returns the stack of localized message (list of messages including message of this exception and messages of all cause exceptions) translated using Locale.ENGLISH.

Returns:
the stack of the localized messages

getLocalizedMessagesTrace

public String getLocalizedMessagesTrace(Locale locale)
Returns the localized trace of all messages including this message and all cause messages translated using the specified locale.

Parameters:
locale - specifies the desired language of the translation for the messages
Returns:
the trace of the localized messages

getLocalizedMessagesTrace

public String getLocalizedMessagesTrace()
Returns the localized trace of all messages including this message and all cause messages translated using current JVM locale.

Returns:
the trace of the localized messages

getMessagesTrace

public String getMessagesTrace()
Returns the trace of all messages including this message and all cause messages translated using Locale.ENGLISH.

Returns:
the trace of the localized messages

getLocalizedSourceMessage

public String getLocalizedSourceMessage()
Returns the localized initial source message of the exception translated using current JVM locale.

Returns:
the localized source message

getLocalizedSourceMessage

public String getLocalizedSourceMessage(Locale locale)
Returns the localized initial source message of the exception translated using the specified locale.

Parameters:
locale - specifies the desired language of the translation for the message
Returns:
the localized source message

getSourceMessage

public String getSourceMessage()
Returns the initial source message of the exception translated using Locale.ENGLISH

Returns:
the source message in English


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.