|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.sap.mdm.MdmIllegalStateException
This class is MDM version of IllegalStateException class.
| Constructor Summary | |
MdmIllegalStateException()
Constructs a new exception with null as its default message. |
|
MdmIllegalStateException(String messageKey)
Constructs a new exception with the specified message key. |
|
MdmIllegalStateException(String messageKey,
Object messageParam)
Constructs a new exception with the specified messageKey and messageParam |
|
MdmIllegalStateException(String messageKey,
Object[] messageParams)
Constructs a new exception with the specified messageKey, messageParams and cause |
|
| Method Summary | |
String |
getLocalizedMessage()
Returns localized message of the exception translated using current JVM locale. |
String |
getLocalizedMessage(Locale locale)
Returns localized message of the exception translated using the specified locale |
String |
getLocalizedMessagesTrace()
Returns localized trace of all messages including this message and all cause messages translated using current JVM locale. |
String |
getLocalizedMessagesTrace(Locale locale)
Returns localized trace of all messages including this message and all cause messages translated using the specified locale. |
String |
getLocalizedSourceMessage()
Returns localized initial source message of the exception translated using current JVM locale. |
String |
getLocalizedSourceMessage(Locale locale)
Returns localized initial source message of the exception translated using the specified locale. |
String |
getMessage()
Returns localized message of the exception translated using Locale.ENGLISH |
String |
getMessageKey()
Returns message key |
Object[] |
getMessageParameters()
Returns message parameters |
String |
getMessagesTrace()
Returns trace of all messages including this message and all cause messages translated using Locale.ENGLISH. |
String |
getSourceMessage()
Returns initial source message of the exception translated using Locale.ENGLISH |
String[] |
getStackLocalizedMessages()
Returns 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 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 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 MdmIllegalStateException()
null as its default message.
public MdmIllegalStateException(String messageKey)
messageKey - the message key
public MdmIllegalStateException(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 MdmIllegalStateException(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.| Method Detail |
public String getMessageKey()
public Object[] getMessageParameters()
public String getLocalizedMessage(Locale locale)
locale - locale specifies the desired language of the translation for the message
public String getLocalizedMessage()
public String getMessage()
public String[] getStackLocalizedMessages(Locale locale)
locale - locale specifies the desired language of the translation for the messages
public String[] getStackLocalizedMessages()
public String[] getStackMessages()
public String getLocalizedMessagesTrace(Locale locale)
locale - locale specifies the desired language of the translation for the messages
public String getLocalizedMessagesTrace()
public String getMessagesTrace()
public String getLocalizedSourceMessage()
public String getLocalizedSourceMessage(Locale locale)
locale - locale specifies the desired language of the translation for the message
public String getSourceMessage()
public 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.