CMI documentation

com.sap.tc.cmi.exception
Class CMIException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.sap.exception.BaseException
                    |
                    +--com.sap.tc.cmi.exception.CMIException
All Implemented Interfaces:
com.sap.exception.IBaseException, java.io.Serializable

public class CMIException
extends com.sap.exception.BaseException

Base class for exceptions thrown by methods of the Common Model Interface. It extends BaseException. For further information see there. This type can be called or extendeded by applications or frameworks using CMI.

Version:
$Id: //tc/CommonModelInterface/630_VAL_REL/src/_cmi_api/java/com/sap/tc/cmi/exception/CMIException.java#3 $
See Also:
Serialized Form

Fields inherited from interface com.sap.exception.IBaseException
audit, defaultLocale
 
Constructor Summary
CMIException(java.lang.String messageText)
          Creates an exception with a unparameterized text only.
CMIException(java.lang.String messageText, java.lang.Object[] parameters)
          Creates an exception with the text and text parameters.
CMIException(java.lang.String messageText, java.lang.Object[] parameters, java.lang.Throwable cause)
          Creates an exception with the given text, parameters and cause.
CMIException(java.lang.String messageText, java.lang.Throwable cause)
          Creates an exception with the given (unparameterized) text and cause.
CMIException(java.lang.Throwable cause)
          Creates an exception with the given cause.
 
Method Summary
 java.lang.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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMIException

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

CMIException

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

CMIException

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

CMIException

public CMIException(java.lang.String messageText,
                    java.lang.Object[] parameters)
Creates an exception with the text and text parameters.
See Also:
java.util.MessageFormat

CMIException

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

getParameters

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

CMI documentation

Copyright © 2002 SAP AG. Automatically generated Thu Mar 3 2005, 21:53