|
|||||||||||
| 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.mdm.AbstractMdmException
This class is ancestor of all MDM exceptions.
| Constructor Summary | |
AbstractMdmException()
Constructs a new exception with null as its default message. |
|
AbstractMdmException(String messageKey)
Constructs a new exception with the specified message key. |
|
AbstractMdmException(String messageKey,
Object messageParam)
Constructs a new exception with the specified messageKey and messageParam |
|
AbstractMdmException(String messageKey,
Object[] messageParams)
Constructs a new exception with the specified messageKey, messageParams and cause |
|
AbstractMdmException(String messageKey,
Object[] messageParams,
Throwable cause)
Constructs a new exception with the specified messageKey and messageParams |
|
AbstractMdmException(String messageKey,
Object messageParam,
Throwable cause)
Constructs a new exception with the specified messageKey, messageParam and cause |
|
AbstractMdmException(String messageKey,
Throwable cause)
Constructs a new exception with the specified message key and cause. |
|
AbstractMdmException(Throwable cause)
Constructs a new exception with the specified cause. |
|
| 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. |
String |
toString()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractMdmException()
null as its default message.
public AbstractMdmException(String messageKey)
messageKey - the message key
public AbstractMdmException(String messageKey,
Throwable cause)
messageKey - the message keycause - the causepublic AbstractMdmException(Throwable cause)
cause - the cause
public AbstractMdmException(String messageKey,
Object[] messageParams)
messageKey - message keymessageParams - in case message key is used this array of objects will be inserted
into the formatted message according to the format.
public AbstractMdmException(String messageKey,
Object messageParam)
messageKey - message keymessageParam - in case message key is used this object will be inserted
into the formatted message according to the format.
public AbstractMdmException(String messageKey,
Object messageParam,
Throwable cause)
messageKey - message keymessageParam - in case message key is used this object will be inserted
into the formatted message according to the format.cause - the cause of the exception
public AbstractMdmException(String messageKey,
Object[] messageParams,
Throwable cause)
messageKey - message keymessageParams - in case message key is used this array of objects will be inserted
into the formatted message according to the format.| Method Detail |
public String getMessageKey()
IMdmException
getMessageKey in interface IMdmExceptionpublic Object[] getMessageParameters()
IMdmException
getMessageParameters in interface IMdmExceptionpublic String getLocalizedMessage(Locale locale)
IMdmException
getLocalizedMessage in interface IMdmExceptionlocale - specifies the desired language of the translation for the message
public String getLocalizedMessage()
IMdmException
getLocalizedMessage in interface IMdmExceptionpublic String getMessage()
IMdmException
getMessage in interface IMdmExceptionpublic String[] getStackLocalizedMessages(Locale locale)
IMdmException
getStackLocalizedMessages in interface IMdmExceptionlocale - specifies the desired language of the translation for the messages
public String[] getStackLocalizedMessages()
IMdmException
getStackLocalizedMessages in interface IMdmExceptionpublic String[] getStackMessages()
IMdmException
getStackMessages in interface IMdmExceptionpublic String getLocalizedMessagesTrace(Locale locale)
IMdmException
getLocalizedMessagesTrace in interface IMdmExceptionlocale - specifies the desired language of the translation for the messages
public String getLocalizedMessagesTrace()
IMdmException
getLocalizedMessagesTrace in interface IMdmExceptionpublic String getMessagesTrace()
IMdmException
getMessagesTrace in interface IMdmExceptionpublic String getLocalizedSourceMessage()
IMdmException
getLocalizedSourceMessage in interface IMdmExceptionpublic String getLocalizedSourceMessage(Locale locale)
IMdmException
getLocalizedSourceMessage in interface IMdmExceptionlocale - specifies the desired language of the translation for the message
public String getSourceMessage()
IMdmException
getSourceMessage in interface IMdmExceptionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.