public class ConnectorRuntimeException extends RuntimeException
getLocalizedMessage() which returns
a message localized for current user locale| Constructor and Description |
|---|
ConnectorRuntimeException(String message) |
ConnectorRuntimeException(String message,
String localizedString) |
ConnectorRuntimeException(String message,
String localizedString,
Throwable cause) |
ConnectorRuntimeException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getLinkedException() |
String |
getLocalizedMessage() |
String |
getMessage() |
void |
setLinkedException(Throwable cause) |
String |
toString()
We need to override
Throwable.toString() because it uses
getLocalizedMessage() instead of getMessage() as
specified in javadoc. |
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ConnectorRuntimeException(String message)
public Exception getLinkedException()
public void setLinkedException(Throwable cause)
public String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String toString()
Throwable.toString() because it uses
getLocalizedMessage() instead of getMessage() as
specified in javadoc. toString() in turn is used in
Throwable.printStackTrace() which would show localized message in the log
otherwise.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/connectivityfw/api
|
api
|
EP-PIN
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
-
|
EP-CON-CF
|
[sap.com] FRAMEWORK-EXT
|
[sap.com]
|
default
|
EP-CON-CF
|
Copyright 2021 SAP SE Complete Copyright Notice