com.sap.tc.cmi.exception

Class CMIException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.exception.BaseException
              extended by com.sap.tc.cmi.exception.CMIException
All Implemented Interfaces:
com.sap.exception.IBaseException, Serializable

public class CMIException
extends com.sap.exception.BaseException

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

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

See Also:
Serialized Form

Type Classification Type Classification:

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


Field Summary
 
Fields inherited from interface com.sap.exception.IBaseException
audit, defaultLocale
 
Constructor Summary
CMIException(String messageText)
          Creates an exception with a unparameterized text only.
CMIException(String messageText, Object[] parameters)
          Creates an exception with the given messageText and text parameters.
CMIException(String messageText, Object[] parameters, Throwable cause)
          Creates an exception with the given text, parameters and cause.
CMIException(String messageText, Throwable cause)
          Creates an exception with the given (unparameterized) text and cause.
CMIException(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 com.sap.exception.BaseException
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLogCategory, getLogLocation, getLogSeverity, getMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMIException

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


CMIException

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


CMIException

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


CMIException

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

See Also:
MessageFormat

CMIException

public CMIException(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.

Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/cmi
[sap.com] FRAMEWORK [sap.com] tc/cm/ejb/api


Copyright 2010 SAP AG Complete Copyright Notice