public class AttributeNotFoundException extends InvalidQueryException
getLocalizedMessage() which returns
a message localized for current user localelocalizedMessage| Constructor and Description |
|---|
AttributeNotFoundException(String message)
Constructor
|
AttributeNotFoundException(String message,
String localizedString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalizedMessage() |
String |
toString()
We need to override
Throwable.toString() because it uses
getLocalizedMessage() instead of ResourceException.getMessage() as
specified in javadoc. |
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedExceptionaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AttributeNotFoundException(String message)
message - message stringpublic String getLocalizedMessage()
getLocalizedMessage in class ConnectorExceptionpublic String toString()
Throwable.toString() because it uses
getLocalizedMessage() instead of ResourceException.getMessage() as
specified in javadoc. toString() in turn is used in
Throwable.printStackTrace() which would show localized message in the log
otherwise.toString in class ConnectorException| 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