com.sapportals.connector.execution.objects
Class AttributeNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
com.sapportals.connector.ConnectorException
com.sapportals.connector.execution.objects.InvalidQueryException
com.sapportals.connector.execution.objects.AttributeNotFoundException
- All Implemented Interfaces:
- Serializable
public class AttributeNotFoundException
- extends InvalidQueryException
Thrown when attempting access to an invalid
attribute
This exception overrides getLocalizedMessage() which returns
a message localized for current user locale
- See Also:
- Serialized Form
AttributeNotFoundException
public AttributeNotFoundException(String message)
- Constructor
- Parameters:
message - message string
AttributeNotFoundException
public AttributeNotFoundException(String message,
String localizedString)
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage in class ConnectorException
toString
public String toString()
- We need to override
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.
- Overrides:
toString in class ConnectorException
This class can be accessed from:
|
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] tc/conn/connectorframeworkdeprecated
|
-
|
EP-CON-CF
|
[sap.com] FRAMEWORK-EXT
|
[sap.com] tc/conn/connectorframeworkdeprecated
|
default
|
EP-CON-CF
|
Copyright 2015 SAP AG Complete Copyright Notice