com.sap.mdm.extension
Class MetadataException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.sap.mdm.AbstractMdmRuntimeException
                  extended bycom.sap.mdm.MdmRuntimeException
                      extended bycom.sap.mdm.extension.MetadataException
All Implemented Interfaces:
IMdmException, Serializable

public class MetadataException
extends MdmRuntimeException

A metadata exception.

See Also:
Serialized Form

Constructor Summary
MetadataException()
          Constructs a new exception with null as its default message.
MetadataException(String messageKey)
          Constructs a new exception with the specified message key.
MetadataException(String messageKey, Object messageParam)
          Constructs a new exception with the specified messageKey, messageParams
MetadataException(String messageKey, Object[] messageParams)
          Constructs a new exception with the specified messageKey, messageParams
MetadataException(String messageKey, Object[] messageParams, Throwable cause)
          Constructs a new exception with the specified messageKey, messageParams and cause
MetadataException(String messageKey, Object messageParam, Throwable cause)
          Constructs a new exception with the specified messageKey, messageParams and cause
MetadataException(String messageKey, Throwable cause)
          Constructs a new exception with the specified message key and cause.
MetadataException(Throwable cause)
          Constructs a new exception with the specified cause.
 
Methods inherited from class com.sap.mdm.AbstractMdmRuntimeException
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

MetadataException

public MetadataException()
Constructs a new exception with null as its default message.


MetadataException

public MetadataException(String messageKey)
Constructs a new exception with the specified message key.

Parameters:
messageKey - the message key

MetadataException

public MetadataException(String messageKey,
                         Throwable cause)
Constructs a new exception with the specified message key and cause.

Parameters:
messageKey - the message key
cause - the cause

MetadataException

public MetadataException(Throwable cause)
Constructs a new exception with the specified cause.

Parameters:
cause - the cause

MetadataException

public MetadataException(String messageKey,
                         Object[] messageParams,
                         Throwable cause)
Constructs a new exception with the specified messageKey, messageParams and cause

Parameters:
messageKey - 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

MetadataException

public MetadataException(String messageKey,
                         Object messageParam,
                         Throwable cause)
Constructs a new exception with the specified messageKey, messageParams and cause

Parameters:
messageKey - message key
messageParam - 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

MetadataException

public MetadataException(String messageKey,
                         Object[] messageParams)
Constructs a new exception with the specified messageKey, messageParams

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

MetadataException

public MetadataException(String messageKey,
                         Object messageParam)
Constructs a new exception with the specified messageKey, messageParams

Parameters:
messageKey - message key
messageParam - in case message key is used this object 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.