com.sapportals.connector

Class ConnectorRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.sapportals.connector.ConnectorRuntimeException
All Implemented Interfaces:
com.sap.exception.IBaseException, Serializable

public class ConnectorRuntimeException
extends RuntimeException
implements com.sap.exception.IBaseException

Connector runtime exception

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sap.exception.IBaseException
audit, defaultLocale
 
Constructor Summary
ConnectorRuntimeException(Location loc, com.sap.localization.ResourceAccessor accessor, String key, Object[] parameters, Throwable rootCause)
          Constructor for specifying a localizable message, the action cause and the root cause.
ConnectorRuntimeException(String message)
          Deprecated. use ConnectorRuntimeException(Location,ResourceAccessor,String,Object[],Throwable)
ConnectorRuntimeException(String message, Exception linkedException)
          Deprecated. use ConnectorRuntimeException(Location,ResourceAccessor,String,Object[],Throwable)
 
Method Summary
 void finallyLocalize()
           
 void finallyLocalize(Locale locale)
           
 void finallyLocalize(Locale locale, TimeZone timeZone)
           
 void finallyLocalize(TimeZone timeZone)
           
 Throwable getCause()
           
 Exception getLinkedException()
          Deprecated. use getCause()
 com.sap.localization.LocalizableText getLocalizableMessage()
           
 String getLocalizedMessage(Locale locale)
           
 String getLocalizedMessage(Locale locale, TimeZone timeZone)
           
 String getLocalizedMessage(TimeZone timeZone)
           
 String getNestedLocalizedMessage()
           
 String getNestedLocalizedMessage(Locale locale)
           
 String getNestedLocalizedMessage(Locale locale, TimeZone timeZone)
           
 String getNestedLocalizedMessage(TimeZone timeZone)
           
 String getNestedStackTraceString()
           
 String getStackTraceString()
           
 String getSystemStackTraceString()
           
 Throwable initCause(Throwable cause)
           
 void log()
          Deprecated.  
 void setLinkedException(Exception linkedException)
          Deprecated. use initCause(Throwable)
 void setLogSettings(Category category, int severity, Location location)
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sap.exception.IBaseException
getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 

Constructor Detail

ConnectorRuntimeException

public ConnectorRuntimeException(String message,
                                 Exception linkedException)
Deprecated. use ConnectorRuntimeException(Location,ResourceAccessor,String,Object[],Throwable)


ConnectorRuntimeException

public ConnectorRuntimeException(Location loc,
                                 com.sap.localization.ResourceAccessor accessor,
                                 String key,
                                 Object[] parameters,
                                 Throwable rootCause)
Constructor for specifying a localizable message, the action cause and the root cause.

Parameters:
loc - logging location which will be used in case of automatic tracing
accessor - accessor the resource accessor
key - key for text message
parameters - message parameters
rootCause - throwable object, which caused this exception

ConnectorRuntimeException

public ConnectorRuntimeException(String message)
Deprecated. use ConnectorRuntimeException(Location,ResourceAccessor,String,Object[],Throwable)

Method Detail

getLinkedException

public Exception getLinkedException()
Deprecated. use getCause()


setLinkedException

public void setLinkedException(Exception linkedException)
Deprecated. use initCause(Throwable)


initCause

public Throwable initCause(Throwable cause)
Specified by:
initCause in interface com.sap.exception.IBaseException

getCause

public Throwable getCause()
Specified by:
getCause in interface com.sap.exception.IBaseException

getLocalizableMessage

public com.sap.localization.LocalizableText getLocalizableMessage()
Specified by:
getLocalizableMessage in interface com.sap.exception.IBaseException

getLocalizedMessage

public String getLocalizedMessage(Locale locale)
Specified by:
getLocalizedMessage in interface com.sap.exception.IBaseException

getLocalizedMessage

public String getLocalizedMessage(TimeZone timeZone)
Specified by:
getLocalizedMessage in interface com.sap.exception.IBaseException

getLocalizedMessage

public String getLocalizedMessage(Locale locale,
                                  TimeZone timeZone)
Specified by:
getLocalizedMessage in interface com.sap.exception.IBaseException

getNestedLocalizedMessage

public String getNestedLocalizedMessage()
Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException

getNestedLocalizedMessage

public String getNestedLocalizedMessage(Locale locale)
Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException

getNestedLocalizedMessage

public String getNestedLocalizedMessage(TimeZone timeZone)
Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException

getNestedLocalizedMessage

public String getNestedLocalizedMessage(Locale locale,
                                        TimeZone timeZone)
Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException

finallyLocalize

public void finallyLocalize()
Specified by:
finallyLocalize in interface com.sap.exception.IBaseException

finallyLocalize

public void finallyLocalize(Locale locale)
Specified by:
finallyLocalize in interface com.sap.exception.IBaseException

finallyLocalize

public void finallyLocalize(TimeZone timeZone)
Specified by:
finallyLocalize in interface com.sap.exception.IBaseException

finallyLocalize

public void finallyLocalize(Locale locale,
                            TimeZone timeZone)
Specified by:
finallyLocalize in interface com.sap.exception.IBaseException

getSystemStackTraceString

public String getSystemStackTraceString()
Specified by:
getSystemStackTraceString in interface com.sap.exception.IBaseException

getStackTraceString

public String getStackTraceString()
Specified by:
getStackTraceString in interface com.sap.exception.IBaseException

getNestedStackTraceString

public String getNestedStackTraceString()
Specified by:
getNestedStackTraceString in interface com.sap.exception.IBaseException

setLogSettings

public void setLogSettings(Category category,
                           int severity,
                           Location location)
Deprecated.  

Specified by:
setLogSettings in interface com.sap.exception.IBaseException

log

public void log()
Deprecated.  

Specified by:
log in interface com.sap.exception.IBaseException


Copyright 2006 SAP AG Complete Copyright Notice