|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
com.sap.exception.remote.SAPRemoteException
| Field Summary |
| Fields inherited from class java.rmi.RemoteException |
detail |
| Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
| Constructor Summary | |
SAPRemoteException(Location loc)
|
|
SAPRemoteException(Location loc,
LocalizableText locMessage)
|
|
SAPRemoteException(Location loc,
LocalizableText locMessage,
Throwable rootCause)
|
|
SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey)
|
|
SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey,
Object[] parameters)
|
|
SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey,
Object[] parameters,
Throwable rootCause)
|
|
SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey,
Throwable rootCause)
|
|
SAPRemoteException(Location loc,
Throwable rootCause)
|
|
| Method Summary | |
void |
finallyLocalize()
Finally localizes the LocalizableText message
(if there is one attached).
|
void |
finallyLocalize(Locale loc)
Finally localizes the LocalizableText message
(if there is one attached).
|
void |
finallyLocalize(Locale loc,
TimeZone timeZone)
Finally localizes the LocalizableText message
(if there is one attached).
|
void |
finallyLocalize(TimeZone timeZone)
Finally localizes the LocalizableText message
(if there is one attached).
|
Throwable |
getCause()
Getter method for root cause. |
LocalizableText |
getLocalizableMessage()
Getter method for localizable message. |
String |
getLocalizedMessage()
Gets localized message. |
String |
getLocalizedMessage(Locale loc)
Gets localized message. |
String |
getLocalizedMessage(Locale loc,
TimeZone timeZone)
Gets localized message. |
String |
getLocalizedMessage(TimeZone timeZone)
Gets localized message. |
Category |
getLogCategory()
|
Location |
getLogLocation()
|
int |
getLogSeverity()
|
String |
getMessage()
|
String |
getNestedLocalizedMessage()
Chains localized messages of the nested exceptions. |
String |
getNestedLocalizedMessage(Locale loc)
Chains localized messages of the nested exceptions. |
String |
getNestedLocalizedMessage(Locale loc,
TimeZone timeZone)
Chains localized message of the nested exceptions. |
String |
getNestedLocalizedMessage(TimeZone timeZone)
Chains localized message of the nested exceptions. |
String |
getNestedStackTraceString()
Chains the stack trace information of nested exceptions. |
String |
getStackTraceString()
Gets stack trace information of this exception only. |
String |
getSystemStackTraceString()
Gets the stack information of this exception in respect of the current system environment. |
Throwable |
initCause(Throwable cause)
Initializes the cause of this exception to the specified value. |
void |
log()
Logs the exception message. |
void |
printStackTrace()
Prints this exception and its backtrace to the standard error stream. |
void |
printStackTrace(PrintStream s)
Prints this exception and its backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter s)
Prints the action object and its backtrace to
the specified print writer. |
void |
setLogSettings(Category cat,
int severity,
Location loc)
Setter method for logging information. |
void |
trace(int severity,
Location loc)
Deprecated. |
void |
trace(int severity,
Location loc,
String subloc)
Deprecated. |
| 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 |
public SAPRemoteException(Location loc)
public SAPRemoteException(Location loc,
Throwable rootCause)
public SAPRemoteException(Location loc,
LocalizableText locMessage)
public SAPRemoteException(Location loc,
LocalizableText locMessage,
Throwable rootCause)
public SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey)
public SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey,
Throwable rootCause)
public SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey,
Object[] parameters)
public SAPRemoteException(Location loc,
ResourceAccessor accessor,
String patternKey,
Object[] parameters,
Throwable rootCause)
| Method Detail |
public Throwable initCause(Throwable cause)
IBaseExceptionThis method can be called at most once. That means the cause can be specified only once.
initCause in interface IBaseExceptionpublic Throwable getCause()
IBaseException
getCause in interface IBaseExceptionpublic LocalizableText getLocalizableMessage()
IBaseException
getLocalizableMessage in interface IBaseExceptionpublic String getLocalizedMessage()
IBaseExceptionThe default locale and default time zone are used for localization.
These values have no effect if the finallyLocalize method has already been called.
getLocalizedMessage in interface IBaseExceptionpublic String getLocalizedMessage(Locale loc)
IBaseExceptionThe specified locale and the default time zone are used for localization. The default locale will be used if the locale parameter is null.
These values have no effect if the finallyLocalize method has been already called.
getLocalizedMessage in interface IBaseExceptionloc - locale
public String getLocalizedMessage(TimeZone timeZone)
IBaseExceptionThe specified time zone and the default locale are used for localization. The default time zone will be used, if the time zone parameter is null.
These values have no effect if the finallyLocalize method has been already called.
getLocalizedMessage in interface IBaseExceptiontimeZone - time zone
public String getLocalizedMessage(Locale loc,
TimeZone timeZone)
IBaseExceptionThe specified time zone and locale are used for localization. The default time zone and the default locale will be used, if the time zone parameter or the locale are null respectively.
These values have no effect if the finallyLocalize method has been already called.
getLocalizedMessage in interface IBaseExceptionloc - localetimeZone - time zone
public String getNestedLocalizedMessage()
IBaseExceptionThe default locale and the default time zone are used for localization.
These values have no effect if the finallyLocalize method has already been called.
getNestedLocalizedMessage in interface IBaseExceptionpublic String getNestedLocalizedMessage(Locale loc)
IBaseExceptionThe specified locale and the default time zone are used for localization. The default locale will be used if the Locale parameter is null.
These values have no effect if the finallyLocalize method has been already called.
getNestedLocalizedMessage in interface IBaseExceptionloc - locale
public String getNestedLocalizedMessage(TimeZone timeZone)
IBaseExceptionThe specified time zone and the default locale are used for localization. The default time zone will be used, if the time zone parameter is null.
These values have no effect if the finallyLocalize method has been already called.
If the localized message is not specified, the non-localizable message is returned (if specified).
getNestedLocalizedMessage in interface IBaseExceptiontimeZone - time zone
public String getNestedLocalizedMessage(Locale loc,
TimeZone timeZone)
IBaseExceptionThe specified time zone and locale are used for localization. The default time zone and the default locale will be used, if the time zone parameter or the locale parameter are null respectively.
These values have no effect if the finallyLocalize method has been already called.
getNestedLocalizedMessage in interface IBaseExceptionloc - localetimeZone - time zone
public void finallyLocalize()
IBaseExceptionLocalizableText message
(if there is one attached).
That means no further localization process can be performed
on that object. If there is a nested exception implementing
IBaseException, it will be localized recursively.
The default locale and the default time zone are used for localization.
finallyLocalize in interface IBaseExceptionpublic void finallyLocalize(Locale loc)
IBaseExceptionLocalizableText message
(if there is one attached).
That means no further localization process can be performed
on that object. If there is a nested exception implementing
IBaseException, it will be localized recursively.
The specified locale and the default time zone are used for localization. If the locale parameter is null, the default locale will be used.
finallyLocalize in interface IBaseExceptionloc - localepublic void finallyLocalize(TimeZone timeZone)
IBaseExceptionLocalizableText message
(if there is one attached).
That means no further localization process can be performed
on that object. If there is a nested exception implementing
IBaseException, it will be localized recursively.
The specified time zone and the default locale are used for localization. If time zone parameter is null, the default time zone will be used.
finallyLocalize in interface IBaseExceptiontimeZone - time zone
public void finallyLocalize(Locale loc,
TimeZone timeZone)
IBaseExceptionLocalizableText message
(if there is one attached).
That means no further localization process can be performed
on that object.If there is a nested exception implementing
IBaseException, it will be localized recursively.
The specified locale and the specified time zone are used for localization. If the time zone parameter or the locale parameter are null, the default values will be used respectively.
finallyLocalize in interface IBaseExceptionloc - localetimeZone - time zonepublic String getSystemStackTraceString()
IBaseException
getSystemStackTraceString in interface IBaseExceptionpublic String getStackTraceString()
IBaseExceptionThe stack traces of nested exceptions are not chained.
getStackTraceString in interface IBaseExceptionpublic String getNestedStackTraceString()
IBaseExceptionThe caused stack trace is displayed first.
getNestedStackTraceString in interface IBaseExceptionpublic void printStackTrace()
IBaseExceptionSystem.err.
printStackTrace in interface IBaseExceptionpublic void printStackTrace(PrintStream s)
IBaseException
printStackTrace in interface IBaseExceptionpublic void printStackTrace(PrintWriter s)
IBaseExceptionaction object and its backtrace to
the specified print writer.
printStackTrace in interface IBaseExceptionpublic Category getLogCategory()
public int getLogSeverity()
public Location getLogLocation()
public void setLogSettings(Category cat,
int severity,
Location loc)
IBaseException
setLogSettings in interface IBaseExceptioncat - logging categoryseverity - logging severityloc - logging locationpublic void log()
IBaseException
log in interface IBaseExceptionIBaseException.setLogSettings(Category, int, Location)public String getMessage()
public void trace(int severity,
Location loc)
public void trace(int severity,
Location loc,
String subloc)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||