SAP NetWeaver '04

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

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.util_api.jar]
com.sap.netweaver.bc.rf.util.exception.BaseRuntimeException

public class BaseRuntimeException

Class implementing a unchecked base exception deriving from the exception framework unchecked 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.


Constructor Summary
  BaseRuntimeException()
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args, java.lang.Throwable rootCause)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Object[] args, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Throwable rootCause)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceAccessor resourceAccessor, java.lang.String key, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceMessage message)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceMessage message, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceMessage message, java.lang.Throwable rootCause)
          Construct object of class BaseRuntimeException.
protected BaseRuntimeException(ResourceMessage message, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, java.lang.Object[] args)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, java.lang.Object[] args, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, java.lang.Object[] args, java.lang.Throwable rootCause)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, java.lang.Object[] args, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, java.lang.Throwable rootCause)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.String message, java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.Throwable rootCause)
          Construct object of class BaseRuntimeException.
  BaseRuntimeException(java.lang.Throwable rootCause, boolean logExceptionOnCreation)
          Construct object of class BaseRuntimeException.
 

Constructor Detail

BaseRuntimeException

public BaseRuntimeException()
Construct object of class BaseRuntimeException.

BaseRuntimeException

public BaseRuntimeException(boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

public BaseRuntimeException(java.lang.Throwable rootCause)
Construct object of class BaseRuntimeException.
Parameters:
rootCause - throwable object which caused this exception

BaseRuntimeException

public BaseRuntimeException(java.lang.Throwable rootCause,
                            boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

public BaseRuntimeException(java.lang.String message)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Object[] args)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Throwable rootCause)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
rootCause - throwable object which caused this exception

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Object[] args,
                            java.lang.Throwable rootCause)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Object[] args,
                            boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
args - message arguments inserted by MessageFormat means
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Throwable rootCause,
                            boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

public BaseRuntimeException(java.lang.String message,
                            java.lang.Object[] args,
                            java.lang.Throwable rootCause,
                            boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
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

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key)
Construct object of class BaseRuntimeException.
Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               java.lang.Object[] args)
Construct object of class BaseRuntimeException.
Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               java.lang.Throwable rootCause)
Construct object of class BaseRuntimeException.
Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
rootCause - throwable object which caused this exception

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               java.lang.Object[] args,
                               java.lang.Throwable rootCause)
Construct object of class BaseRuntimeException.
Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
args - message arguments inserted by MessageFormat means
rootCause - throwable object which caused this exception

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
resourceAccessor - resource accessor
key - resource identifier for localized message
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               java.lang.Object[] args,
                               boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
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

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               java.lang.Throwable rootCause,
                               boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
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

BaseRuntimeException

protected BaseRuntimeException(ResourceAccessor resourceAccessor,
                               java.lang.String key,
                               java.lang.Object[] args,
                               java.lang.Throwable rootCause,
                               boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
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

BaseRuntimeException

protected BaseRuntimeException(ResourceMessage message)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message

BaseRuntimeException

protected BaseRuntimeException(ResourceMessage message,
                               java.lang.Throwable rootCause)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
rootCause - throwable object which caused this exception

BaseRuntimeException

protected BaseRuntimeException(ResourceMessage message,
                               boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
logExceptionOnCreation - when true log the exception now during its construction

BaseRuntimeException

protected BaseRuntimeException(ResourceMessage message,
                               java.lang.Throwable rootCause,
                               boolean logExceptionOnCreation)
Construct object of class BaseRuntimeException.
Parameters:
message - not localized message
rootCause - throwable object which caused this exception
logExceptionOnCreation - when true log the exception now during its construction

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
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.