|
SAP BI Java SDK | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.resource.ResourceException
|
+--com.sapportals.connector.ConnectorException
|
+--com.sapportals.connector.connection.ConnectionFailedException
|
+--com.sap.ip.bi.sdk.exception.BIConnectionFailedException
Thrown to indicate that a connection has not been successfully
established.
A wrapper for the exception
com.sapportals.connector.connection.ConnectionFailedException.
| Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
| Constructor Summary | |
BIConnectionFailedException(Locale locale)
Constructs a BIConnectionFailedException object. |
|
BIConnectionFailedException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
Constructs a BIConnectionFailedException object
with log handling. |
|
BIConnectionFailedException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
Constructs a BIConnectionFailedException object
with log handling. |
|
BIConnectionFailedException(Locale locale,
String messageId)
Constructs a BIConnectionFailedException object
with message ID. |
|
BIConnectionFailedException(Locale locale,
String messageId,
Object[] args)
Constructs a BIConnectionFailedException object
with message ID and arguments. |
|
BIConnectionFailedException(Locale locale,
String messageId,
Object[] args,
Throwable cause)
Constructs a BIConnectionFailedException object
with message ID, arguments, and the original exception. |
|
BIConnectionFailedException(Locale locale,
String messageId,
Throwable cause)
Constructs a BIConnectionFailedException object
with message ID and the original exception. |
|
BIConnectionFailedException(Locale locale,
Throwable cause)
Constructs a BIConnectionFailedException object
with original cause. |
|
| Method Summary | |
void |
finallyLocalize()
Finally localizes the LocalizableText message
(if there is one attached). |
void |
finallyLocalize(Locale arg0)
Finally localizes the LocalizableText message
(if there is one attached) with the specified locale information. |
void |
finallyLocalize(Locale loc,
TimeZone timeZone)
Finally localizes the LocalizableText message
(if there is one attached). |
void |
finallyLocalize(TimeZone arg0)
Finally localizes the LocalizableText message
(if there is one attached) with the specified time zone information. |
Throwable |
getCause()
Returns the cause of the problem. |
com.sap.localization.LocalizableText |
getLocalizableMessage()
Gets the LocalizableText class from BaseExceptionInfo
instance. |
String |
getLocalizedMessage()
Gets the localized message from BaseExceptionInfo instance. |
String |
getLocalizedMessage(Locale arg0)
Returns the localized message with a locale as input. |
String |
getLocalizedMessage(Locale loc,
TimeZone timeZone)
Gets the localized message according to BaseExceptionInfo instance
with locale and time zone information. |
String |
getLocalizedMessage(TimeZone arg0)
Returns the localized message string with a time zone restriction. |
com.sap.tc.logging.Location |
getLogLocation()
Gets logging location. |
int |
getLogSeverity()
Gets logging severity. |
String |
getMessage()
Returns the exception message. |
String |
getNestedLocalizedMessage()
Returns the nested localized message. |
String |
getNestedLocalizedMessage(Locale arg0)
Returns the nested localized message with locale information. |
String |
getNestedLocalizedMessage(Locale arg0,
TimeZone arg1)
Returns the nested localized message with locale and time zone information. |
String |
getNestedLocalizedMessage(TimeZone arg0)
Returns the nested localized message with time zone information. |
String |
getNestedStackTraceString()
Gets the nested stack trace string from BaseExceptionInfo instance. |
String |
getStackTraceString()
Gets stack trace information of this exception only. |
String |
getSystemStackTraceString()
Gets the stack information of this exception with respect to the current system environment. |
Throwable |
initCause(Throwable arg0)
Initializes the cause of this exception to the specified value. |
void |
log()
Logs the exception message. |
void |
printStackTrace()
Prints this Throwable and its backtrace to the standard error stream. |
void |
printStackTrace(PrintStream printStream)
Prints this Throwable and its backtrace to the specified print stream. |
void |
printStackTrace(PrintWriter printWriter)
Prints this Throwable and its backtrace to the specified print writer. |
void |
restoreLogSettings()
Restores log settings to their original value before setLogSettings(Category, int, Location)
has been used. |
void |
setLogSettings(com.sap.tc.logging.Category arg0,
int arg1,
com.sap.tc.logging.Location arg2)
Sets the log settings with the specified category and location information. |
| Methods inherited from class com.sapportals.connector.ConnectorException |
setLinkedException |
| Methods inherited from class javax.resource.ResourceException |
getErrorCode, getLinkedException |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public BIConnectionFailedException(Locale locale)
BIConnectionFailedException object.locale - Locale for messageObject.Object()
public BIConnectionFailedException(Locale locale,
Throwable cause)
BIConnectionFailedException object
with original cause.locale - Locale for messagecause - the original exception to nest in this exception
public BIConnectionFailedException(Locale locale,
String messageId)
BIConnectionFailedException object
with message ID.locale - Locale for messagemessageId - unique ID of a given messageThrowable.Throwable(String)
public BIConnectionFailedException(Locale locale,
String messageId,
Object[] args,
Throwable cause)
BIConnectionFailedException object
with message ID, arguments, and the original exception.locale - Locale for messagemessageId - unique ID of a given messageargs - arguments of the formatted messagecause - the original exception to nest in this exception
public BIConnectionFailedException(Locale locale,
String messageId,
Object[] args)
BIConnectionFailedException object
with message ID and arguments.locale - Locale for messagemessageId - unique ID of a given messageargs - arguments of the formatted message
public BIConnectionFailedException(Locale locale,
String messageId,
Throwable cause)
BIConnectionFailedException object
with message ID and the original exception.locale - Locale for messagemessageId - unique ID of a given messagecause - the original exception to nest in this exception
public BIConnectionFailedException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
BIConnectionFailedException object
with log handling.locale - Locale for messagecategory - category of the exceptionseverity - severity of the exceptionlocation - the location where this exception is thrownmessageId - unique ID of a given messagecause - the original exception to nest in this exception
public BIConnectionFailedException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
BIConnectionFailedException object
with log handling.locale - Locale for messagecategory - category of the exceptionseverity - severity of the exceptionlocation - the location where this exception is thrownmessageId - unique ID of a given messageargs - arguments of the formatted messagecause - the original exception to nest in this exception| Method Detail |
public String getLocalizedMessage()
BaseExceptionInfo instance.getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class ThrowableThrowable.getLocalizedMessage()public com.sap.localization.LocalizableText getLocalizableMessage()
LocalizableText class from BaseExceptionInfo
instance.getLocalizableMessage in interface com.sap.exception.IBaseExceptiongetLocalizableMessage in class com.sapportals.connector.ConnectorException
public String getLocalizedMessage(Locale loc,
TimeZone timeZone)
BaseExceptionInfo instance
with locale and time zone information.getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sapportals.connector.ConnectorException
public void finallyLocalize(Locale loc,
TimeZone timeZone)
LocalizableText message
(if there is one attached).finallyLocalize in interface com.sap.exception.IBaseExceptionfinallyLocalize in class com.sapportals.connector.ConnectorExceptionpublic String getNestedStackTraceString()
BaseExceptionInfo instance.getNestedStackTraceString in interface com.sap.exception.IBaseExceptiongetNestedStackTraceString in class com.sapportals.connector.ConnectorExceptionpublic String getSystemStackTraceString()
getSystemStackTraceString in interface com.sap.exception.IBaseExceptiongetSystemStackTraceString in class com.sapportals.connector.ConnectorExceptionpublic Throwable initCause(Throwable arg0)
initCause in interface com.sap.exception.IBaseExceptioninitCause in class com.sapportals.connector.ConnectorExceptionpublic Throwable getCause()
getCause in interface com.sap.exception.IBaseExceptiongetCause in class com.sapportals.connector.ConnectorExceptionpublic String getLocalizedMessage(Locale arg0)
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sapportals.connector.ConnectorExceptionpublic String getLocalizedMessage(TimeZone arg0)
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class com.sapportals.connector.ConnectorExceptionpublic String getNestedLocalizedMessage()
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptiongetNestedLocalizedMessage in class com.sapportals.connector.ConnectorExceptionpublic String getNestedLocalizedMessage(Locale arg0)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptiongetNestedLocalizedMessage in class com.sapportals.connector.ConnectorExceptionpublic String getNestedLocalizedMessage(TimeZone arg0)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptiongetNestedLocalizedMessage in class com.sapportals.connector.ConnectorException
public String getNestedLocalizedMessage(Locale arg0,
TimeZone arg1)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptiongetNestedLocalizedMessage in class com.sapportals.connector.ConnectorExceptionpublic void finallyLocalize()
LocalizableText message
(if there is one attached).finallyLocalize in interface com.sap.exception.IBaseExceptionfinallyLocalize in class com.sapportals.connector.ConnectorExceptionpublic void finallyLocalize(Locale arg0)
LocalizableText message
(if there is one attached) with the specified locale information.finallyLocalize in interface com.sap.exception.IBaseExceptionfinallyLocalize in class com.sapportals.connector.ConnectorExceptionpublic void finallyLocalize(TimeZone arg0)
LocalizableText message
(if there is one attached) with the specified time zone information.finallyLocalize in interface com.sap.exception.IBaseExceptionfinallyLocalize in class com.sapportals.connector.ConnectorExceptionpublic String getStackTraceString()
getStackTraceString in interface com.sap.exception.IBaseExceptiongetStackTraceString in class com.sapportals.connector.ConnectorException
public void setLogSettings(com.sap.tc.logging.Category arg0,
int arg1,
com.sap.tc.logging.Location arg2)
setLogSettings in interface com.sap.exception.IBaseExceptionsetLogSettings in class com.sapportals.connector.ConnectorExceptionpublic void log()
log in interface com.sap.exception.IBaseExceptionlog in class com.sapportals.connector.ConnectorExceptionpublic String getMessage()
getMessage in class ThrowableThrowable.getMessage()public void printStackTrace()
printStackTrace in interface com.sap.exception.IBaseExceptionprintStackTrace in class ThrowableIBaseException.printStackTrace()public void printStackTrace(PrintStream printStream)
printStackTrace in interface com.sap.exception.IBaseExceptionprintStackTrace in class ThrowableIBaseException.printStackTrace(PrintStream)public void printStackTrace(PrintWriter printWriter)
printStackTrace in interface com.sap.exception.IBaseExceptionprintStackTrace in class ThrowableIBaseException.printStackTrace(PrintWriter)public int getLogSeverity()
Severity.NONE is returned.public com.sap.tc.logging.Location getLogLocation()
public void restoreLogSettings()
setLogSettings(Category, int, Location)
has been used.setLogSettings(Category, int, Location)
|
SAP BI Java SDK | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||