com.sap.ip.collaboration.gw.api.framework.groupware
Class GroupwareException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sap.ip.collaboration.core.api.util.exception.BaseException
com.sap.ip.collaboration.gw.api.framework.groupware.GroupwareException
- All Implemented Interfaces:
- com.sap.ip.collaboration.core.api.util.exception.IBaseException, Serializable
- Direct Known Subclasses:
- AddAttachmentFailureException, EFPException, InvalidEmailAddressFormatException, InvalidTransportException, NoResourceFoundException, NoTransportConfiguredException, OperationNotSupportedException, TransportLoadFailureException, UserPasswordException
- public class GroupwareException
- extends com.sap.ip.collaboration.core.api.util.exception.BaseException
The GroupwareException class acts as the base exception class of the
groupware framework.
- See Also:
- Serialized Form
| Fields inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException |
DONT_LOG, LOG |
|
Constructor Summary |
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,
com.sap.ip.collaboration.core.api.util.text.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,
com.sap.ip.collaboration.core.api.util.text.TextBundle aTextBundle,
boolean log)
|
|
Method Summary |
static com.sap.ip.collaboration.core.api.util.text.TextBundle |
getTextBundle(String resourceBundle,
Class myClass)
returns the textbundle for a given class. |
static com.sap.ip.collaboration.core.api.util.text.TextBundle |
getTextBundle(String resourceBundle,
Object o)
gets the locale specific message. |
protected void |
logMessage(String message)
logs a message using the standard SAP logger |
| Methods inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException |
getCausingThrowable, getMessage, getMessage, getRootThrowable, getText, isLogged, logException, printStackTrace, printStackTrace, printStackTrace |
LOCALIZATIONFILE
protected static final String LOCALIZATIONFILE
- See Also:
- Constant Field Values
GroupwareException
public GroupwareException(String messageKey,
boolean log)
- Parameters:
messageKey - Display Message.log - boolean parameter to indicate whether logging of this exception
is requred or not.
GroupwareException
public GroupwareException(Throwable causingThrowable,
String messageKey,
boolean log)
- Parameters:
causingThrowable - Original Exception object.messageKey - Exception Description string.log - boolean parameter to indicate whether logging of this exception
is requred or not.
GroupwareException
public GroupwareException(Throwable aCausingThrowable,
String aTextKey,
com.sap.ip.collaboration.core.api.util.text.TextBundle aTextBundle,
boolean log)
- Parameters:
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.
GroupwareException
public GroupwareException(Throwable aCausingThrowable,
String aTextKey,
String resourceBundle,
Object callingObject,
boolean log)
- Parameters:
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.
GroupwareException
public GroupwareException(Throwable aCausingThrowable,
String aTextKey,
String resourceBundle,
Class callingClass,
boolean log)
- Parameters:
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.
GroupwareException
public GroupwareException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
com.sap.ip.collaboration.core.api.util.text.TextBundle aTextBundle,
boolean log)
- Parameters:
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.
GroupwareException
public GroupwareException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
String resourceBundle,
Object callingObject,
boolean log)
- Parameters:
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.
GroupwareException
public GroupwareException(Throwable aCausingThrowable,
String aTextKey,
Object[] messageParameters,
String resourceBundle,
Class callingClass,
boolean log)
- Parameters:
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.
getTextBundle
public static final com.sap.ip.collaboration.core.api.util.text.TextBundle getTextBundle(String resourceBundle,
Object o)
- gets the locale specific message.
- Parameters:
resourceBundle - internationalized Text Bundleo - object containing the message.
- Returns:
- returns locale specific message.
getTextBundle
public static final com.sap.ip.collaboration.core.api.util.text.TextBundle getTextBundle(String resourceBundle,
Class myClass)
- returns the textbundle for a given class.
- Parameters:
resourceBundle - internationalized Text BundlemyClass - Class Reference.
- Returns:
- internationalized Text Bundle
logMessage
protected void logMessage(String message)
- logs a message using the standard SAP logger
Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.