com.sap.netweaver.bc.rf.util.exception

Class BaseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sap.exception.BaseException
              extended bycom.sap.netweaver.bc.rf.util.exception.BaseException
All Implemented Interfaces:
IBaseException, Serializable
Direct Known Subclasses:
RepositoryException

public class BaseException
extends BaseException

Class implementing a checked base exception deriving from the exception framework checked base exception, but wrapping it due to the bad localization implementation and bad name scheme in that localization package and the fact that the package seems to be totally misnamed as com.sap.localization being just a localization package for the exception framework and due to the mandatory usage of localized messages for all kind of exceptions. This class also allows to contain messages not necesssarily being localized in order to support easy exception creation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sap.exception.IBaseException
audit, defaultLocale
 
Constructor Summary
  BaseException()
          Construct object of class BaseException.
  BaseException(boolean logExceptionOnCreation)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, boolean logExceptionOnCreation)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, Object[] args)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, Object[] args, boolean logExceptionOnCreation)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, Throwable rootCause)
          Construct object of class BaseException.
protected BaseException(ResourceAccessor resourceAccessor, String key, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseException.
protected BaseException(ResourceMessage message)
          Construct object of class BaseException.
protected BaseException(ResourceMessage message, boolean logExceptionOnCreation)
          Construct object of class BaseException.
protected BaseException(ResourceMessage message, Throwable rootCause)
          Construct object of class BaseException.
protected BaseException(ResourceMessage message, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseException.
  BaseException(String message)
          Construct object of class BaseException.
  BaseException(String message, boolean logExceptionOnCreation)
          Construct object of class BaseException.
  BaseException(String message, Object[] args)
          Construct object of class BaseException.
  BaseException(String message, Object[] args, boolean logExceptionOnCreation)
          Construct object of class BaseException.
  BaseException(String message, Object[] args, Throwable rootCause)
          Construct object of class BaseException.
  BaseException(String message, Object[] args, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseException.
  BaseException(String message, Throwable rootCause)
          Construct object of class BaseException.
  BaseException(String message, Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseException.
  BaseException(Throwable rootCause)
          Construct object of class BaseException.
  BaseException(Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseException.
 
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

BaseException

public BaseException()
Construct object of class BaseException.


BaseException

public BaseException(boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
logExceptionOnCreation - when true log the exception now during its construction

BaseException

public BaseException(Throwable rootCause)
Construct object of class BaseException.

Parameters:
rootCause - throwable object which caused this exception

BaseException

public BaseException(Throwable rootCause,
                     boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseException

public BaseException(String message)
Construct object of class BaseException.

Parameters:
message - not localized message

BaseException

public BaseException(String message,
                     Object[] args)
Construct object of class BaseException.

Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means

BaseException

public BaseException(String message,
                     Throwable rootCause)
Construct object of class BaseException.

Parameters:
message - not localized message
rootCause - throwable object which caused this exception

BaseException

public BaseException(String message,
                     Object[] args,
                     Throwable rootCause)
Construct object of class BaseException.

Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

BaseException

public BaseException(String message,
                     boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

BaseException

public BaseException(String message,
                     Object[] args,
                     boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means
logExceptionOnCreation - when true log the exception now during its construction

BaseException

public BaseException(String message,
                     Throwable rootCause,
                     boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseException

public BaseException(String message,
                     Object[] args,
                     Throwable rootCause,
                     boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        Object[] args)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        Throwable rootCause)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
rootCause - throwable object which caused this exception

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        Object[] args,
                        Throwable rootCause)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
logExceptionOnCreation - when true log the exception now during its construction

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        Object[] args,
                        boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
logExceptionOnCreation - when true log the exception now during its construction

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        Throwable rootCause,
                        boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseException

protected BaseException(ResourceAccessor resourceAccessor,
                        String key,
                        Object[] args,
                        Throwable rootCause,
                        boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseException

protected BaseException(ResourceMessage message)
Construct object of class BaseException.

Parameters:
message - not localized message

BaseException

protected BaseException(ResourceMessage message,
                        Throwable rootCause)
Construct object of class BaseException.

Parameters:
message - not localized message
rootCause - throwable object which caused this exception

BaseException

protected BaseException(ResourceMessage message,
                        boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

BaseException

protected BaseException(ResourceMessage message,
                        Throwable rootCause,
                        boolean logExceptionOnCreation)
Construct object of class BaseException.

Parameters:
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction


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.