public class InvalidConditionException extends Exception
getLocalizedMessage() which returns
a message localized for current user locale| Constructor and Description |
|---|
InvalidConditionException(String message)
Constructor
|
InvalidConditionException(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 Throwable.getMessage() as
specified in javadoc. |
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic InvalidConditionException(String message)
message - Message stringpublic String getLocalizedMessage()
getLocalizedMessage in class Throwablepublic String toString()
Throwable.toString() because it uses
getLocalizedMessage() instead of Throwable.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