com.sap.mdm.data
Class MdmValueTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sap.mdm.AbstractMdmException
              extended bycom.sap.mdm.MdmException
                  extended bycom.sap.mdm.data.MdmValueTypeException
All Implemented Interfaces:
IMdmException, Serializable

public class MdmValueTypeException
extends MdmException

Exception thrown when an attempt is made to assign a MdmValue to any repository item (field, attribute, etc) and there is mismatch between type of value value and type of item. Also thrown if an attempt is made to read the value of a property using a type-specific read method of a type into which it is not convertible.

See Also:
Serialized Form

Constructor Summary
MdmValueTypeException()
           
MdmValueTypeException(String messageKey)
           
MdmValueTypeException(String messageKey, Object[] messageParams)
          Constructs an instance of MdmValueTypeException with the specified messageKey and messageParams
MdmValueTypeException(String messageKey, Object[] messageParams, Throwable cause)
          Constructs an instance of MdmValueTypeException with the specified cause, messageKey and messageParams
MdmValueTypeException(String messageKey, Throwable cause)
           
MdmValueTypeException(Throwable cause)
           
 
Methods inherited from class com.sap.mdm.AbstractMdmException
getLocalizedMessage, getLocalizedMessage, getLocalizedMessagesTrace, getLocalizedMessagesTrace, getLocalizedSourceMessage, getLocalizedSourceMessage, getMessage, getMessageKey, getMessageParameters, getMessagesTrace, getSourceMessage, getStackLocalizedMessages, getStackLocalizedMessages, getStackMessages, 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

MdmValueTypeException

public MdmValueTypeException()

MdmValueTypeException

public MdmValueTypeException(String messageKey)

MdmValueTypeException

public MdmValueTypeException(String messageKey,
                             Throwable cause)

MdmValueTypeException

public MdmValueTypeException(Throwable cause)
Parameters:
cause -

MdmValueTypeException

public MdmValueTypeException(String messageKey,
                             Object[] messageParams,
                             Throwable cause)
Constructs an instance of MdmValueTypeException with the specified cause, messageKey and messageParams

Parameters:
messageKey - an exception message key
messageParams - in case message key is used this array of objects will be inserted into the formatted message according to the format.
cause - the cause of the exception

MdmValueTypeException

public MdmValueTypeException(String messageKey,
                             Object[] messageParams)
Constructs an instance of MdmValueTypeException with the specified messageKey and messageParams

Parameters:
messageKey - an exception message key
messageParams - in case message key is used this array of objects will be inserted into the formatted message according to the format.


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.