com.sapportals.connector
Class ConnectorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
com.sapportals.connector.ConnectorException
- All Implemented Interfaces:
- com.sap.exception.IBaseException, Serializable
- Direct Known Subclasses:
- AttributeNotFoundException, CapabilityNotFoundException, CapabilityNotSupportedException, ConnectionClosedException, ConnectionFailedException, ElementNotFoundException, ExecutionException, FieldNotFoundException, FunctionNotFoundException, IndexNotFoundException, InterfaceNotSupportedException, InvalidConditionException, InvalidQueryException, InvalidQueryStringException, MethodNotFoundException, ParameterNotFoundException, RelationNotFoundException, TimeoutException
- public class ConnectorException
- extends ResourceException
- implements com.sap.exception.IBaseException
The base connector exception. Used whenever a exception in the underlying
API occurs. The underlying exception is available throw the
getCause() method.
- See Also:
- Serialized Form
| Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
| Methods inherited from interface com.sap.exception.IBaseException |
getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
ConnectorException
public ConnectorException(String message)
- Deprecated. use
ConnectorException(Location,ResourceAccessor,String,Object[],Throwable)
ConnectorException
public ConnectorException(Location loc,
com.sap.localization.ResourceAccessor accessor,
String key,
Object[] parameters,
Throwable rootCause)
- Constructor for specifying a localizable message,
the action cause and the root cause.
- Parameters:
loc - logging location which will be used in case of automatic tracingaccessor - accessor the resource accessorkey - key for text messageparameters - message parametersrootCause - throwable object, which caused this exception
setLinkedException
public void setLinkedException(Exception linkedException)
- Deprecated. use
initCause(Throwable)
initCause
public Throwable initCause(Throwable cause)
- Specified by:
initCause in interface com.sap.exception.IBaseException
getCause
public Throwable getCause()
- Specified by:
getCause in interface com.sap.exception.IBaseException
getLocalizableMessage
public com.sap.localization.LocalizableText getLocalizableMessage()
- Specified by:
getLocalizableMessage in interface com.sap.exception.IBaseException
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
- Specified by:
getLocalizedMessage in interface com.sap.exception.IBaseException
getLocalizedMessage
public String getLocalizedMessage(TimeZone timeZone)
- Specified by:
getLocalizedMessage in interface com.sap.exception.IBaseException
getLocalizedMessage
public String getLocalizedMessage(Locale locale,
TimeZone timeZone)
- Specified by:
getLocalizedMessage in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
public String getNestedLocalizedMessage()
- Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
public String getNestedLocalizedMessage(Locale locale)
- Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
public String getNestedLocalizedMessage(TimeZone timeZone)
- Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
public String getNestedLocalizedMessage(Locale locale,
TimeZone timeZone)
- Specified by:
getNestedLocalizedMessage in interface com.sap.exception.IBaseException
finallyLocalize
public void finallyLocalize()
- Specified by:
finallyLocalize in interface com.sap.exception.IBaseException
finallyLocalize
public void finallyLocalize(Locale locale)
- Specified by:
finallyLocalize in interface com.sap.exception.IBaseException
finallyLocalize
public void finallyLocalize(TimeZone timeZone)
- Specified by:
finallyLocalize in interface com.sap.exception.IBaseException
finallyLocalize
public void finallyLocalize(Locale locale,
TimeZone timeZone)
- Specified by:
finallyLocalize in interface com.sap.exception.IBaseException
getSystemStackTraceString
public String getSystemStackTraceString()
- Specified by:
getSystemStackTraceString in interface com.sap.exception.IBaseException
getStackTraceString
public String getStackTraceString()
- Specified by:
getStackTraceString in interface com.sap.exception.IBaseException
getNestedStackTraceString
public String getNestedStackTraceString()
- Specified by:
getNestedStackTraceString in interface com.sap.exception.IBaseException
setLogSettings
public void setLogSettings(Category category,
int severity,
Location location)
- Deprecated.
- Specified by:
setLogSettings in interface com.sap.exception.IBaseException
log
public void log()
- Deprecated.
- Specified by:
log in interface com.sap.exception.IBaseException
Copyright 2006 SAP AG Complete Copyright Notice