public class GroupwareException extends BaseException
Modifier and Type | Field and Description |
---|---|
protected static String |
LOCALIZATIONFILE |
DONT_LOG, LOG
Constructor and Description |
---|
GroupwareException(String messageKey,
boolean log) |
GroupwareException(Throwable causingThrowable,
String messageKey,
boolean log) |
GroupwareException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
String resourceBundle,
Class callingClass,
boolean log) |
GroupwareException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
String resourceBundle,
Object callingObject,
boolean log) |
GroupwareException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
TextBundle aTextBundle,
boolean log) |
GroupwareException(Throwable aCausingThrowable,
String aTextKey,
String resourceBundle,
Class callingClass,
boolean log) |
GroupwareException(Throwable aCausingThrowable,
String aTextKey,
String resourceBundle,
Object callingObject,
boolean log) |
GroupwareException(Throwable aCausingThrowable,
String aTextKey,
TextBundle aTextBundle,
boolean log) |
Modifier and Type | Method and Description |
---|---|
static TextBundle |
getTextBundle(String resourceBundle,
Class myClass)
returns the textbundle for a given class.
|
static TextBundle |
getTextBundle(String resourceBundle,
Object o)
gets the locale specific message.
|
protected void |
logMessage(String message)
logs a message using the standard SAP logger
|
getCausingThrowable, getMessage, getMessage, getRootThrowable, getText, isLogged, logException, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
protected static final String LOCALIZATIONFILE
public GroupwareException(String messageKey, boolean log)
messageKey
- Display Message.log
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable causingThrowable, String messageKey, boolean log)
causingThrowable
- Original Exception object.messageKey
- Exception Description string.log
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable aCausingThrowable, String aTextKey, TextBundle aTextBundle, boolean log)
aCausingThrowable
- Original Exception object.aTextKey
- Exception description string.aTextBundle
- internationalized Text Bundlelog
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable aCausingThrowable, String aTextKey, String resourceBundle, Object callingObject, boolean log)
aCausingThrowable
- Original Exception object.aTextKey
- Exception description string.resourceBundle
- internationalized Text BundlecallingObject
- Object using this classlog
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable aCausingThrowable, String aTextKey, String resourceBundle, Class callingClass, boolean log)
aCausingThrowable
- Original Exception ObjectaTextKey
- Exception description string.resourceBundle
- internationalized Text BundlecallingClass
- Class Object of Class where the Exception
is being thrown.log
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable aCausingThrowable, String aTextKey, Object[] messageParameters, TextBundle aTextBundle, boolean log)
aCausingThrowable
- Original ExceptionaTextKey
- Exception description string.messageParameters
- Error Message to be displayed on the screen.aTextBundle
- internationalized Text Bundlelog
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable aCausingThrowable, String aTextKey, Object[] messageParameters, String resourceBundle, Object callingObject, boolean log)
aCausingThrowable
- Original Exception object.aTextKey
- Exception description string.messageParameters
- Error Message to be displayed on the screen.resourceBundle
- internationalized Text BundlecallingObject
- Object using this Class.log
- boolean parameter to indicate whether logging of this exception
is requred or not.public GroupwareException(Throwable aCausingThrowable, String aTextKey, Object[] messageParameters, String resourceBundle, Class callingClass, boolean log)
aCausingThrowable
- Original Exception objectaTextKey
- Exception description string.messageParameters
- Error Message to be displayed on the screen.resourceBundle
- internationalized Text BundlecallingClass
- Class Instance of the object using this class.log
- boolean parameter to indicate whether logging of this exception
is requred or not.public static final TextBundle getTextBundle(String resourceBundle, Object o)
resourceBundle
- internationalized Text Bundleo
- object containing the message.public static final TextBundle getTextBundle(String resourceBundle, Class myClass)
resourceBundle
- internationalized Text BundlemyClass
- Class Reference.protected void logMessage(String message)
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/gw
|
api
|
EP-KM-COL
|
Copyright 2018 SAP AG Complete Copyright Notice