com.sapportals.connector
Class ConnectorRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sapportals.connector.ConnectorRuntimeException
- All Implemented Interfaces:
- Serializable
public class ConnectorRuntimeException
- extends RuntimeException
Connector runtime exception
This exception overrides getLocalizedMessage() which returns
a message localized for current user locale
- See Also:
- Serialized Form
ConnectorRuntimeException
public ConnectorRuntimeException(String message,
Throwable cause)
ConnectorRuntimeException
public ConnectorRuntimeException(String message)
ConnectorRuntimeException
public ConnectorRuntimeException(String message,
String localizedString)
ConnectorRuntimeException
public ConnectorRuntimeException(String message,
String localizedString,
Throwable cause)
getLinkedException
public Exception getLinkedException()
setLinkedException
public void setLinkedException(Throwable cause)
getMessage
public String getMessage()
- Overrides:
getMessage in class Throwable
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage in class Throwable
toString
public String toString()
- We need to override
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.
- Overrides:
toString in class Throwable
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[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
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/connectivityfw/api
|
api
|
EP-PIN
|
Copyright 2012 SAP AG Complete Copyright Notice