SAP NetWeaver 7.1 Composition Environment

com.sap.tc.cmi.exception
Class CMIRuntimeException

java.lang.Object
  extended by BaseRuntimeException
      extended by com.sap.tc.cmi.exception.CMIRuntimeException
Direct Known Subclasses:
CMIIllegalSortCriterionException, CMINoSuchAnnotationException

public class CMIRuntimeException
extends BaseRuntimeException

Base class for runtime exceptions thrown by methods of the Common Model Interface. It extends com.sap.exception.BaseRuntimeException. For further information see there.

This type can be called or extended by applications or frameworks using CMI.

Since:
NW Paris MS3

Type Classification Type Classification:

This class is part of the Common Model Interface and is intended to be subclassed by applications.


Constructor Summary
CMIRuntimeException(String messageText)
          Creates an exception with a unparameterized text only.
CMIRuntimeException(String messageText, Object[] parameters)
          Creates an exception with the given messageText and text parameters.
CMIRuntimeException(String messageText, Object[] parameters, Throwable cause)
          Creates an exception with the given text, parameters and cause.
CMIRuntimeException(String messageText, Throwable cause)
          Creates an exception with the given (unparameterized) text and cause.
CMIRuntimeException(Throwable cause)
          Creates an exception with the given cause.
 
Method Summary
 Object[] getParameters()
          Returns the array of parameters that are part of the message text or null if there are no parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMIRuntimeException

public CMIRuntimeException(String messageText)
Creates an exception with a unparameterized text only. The cause and parameters are set to null.


CMIRuntimeException

public CMIRuntimeException(String messageText,
                           Throwable cause)
Creates an exception with the given (unparameterized) text and cause. The parameters are set to null.


CMIRuntimeException

public CMIRuntimeException(Throwable cause)
Creates an exception with the given cause.


CMIRuntimeException

public CMIRuntimeException(String messageText,
                           Object[] parameters)
Creates an exception with the given messageText and text parameters.

See Also:
MessageFormat

CMIRuntimeException

public CMIRuntimeException(String messageText,
                           Object[] parameters,
                           Throwable cause)
Creates an exception with the given text, parameters and cause. This is the default constructor for this class.

Method Detail

getParameters

public Object[] getParameters()
Returns the array of parameters that are part of the message text or null if there are no parameters.


SAP NetWeaver 7.1 Composition Environment

Copyright © 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.