|
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
|
+--java.sql.SQLException
|
+--com.sap.ip.bi.sdk.exception.BISQLException
Exception providing information on errors occurring while
interacting with BI Java SDK relational connectors. These
can be forwarded JDBC errors
or wrapped exceptions raised by non-JDBC connectors.
Like SQLException, BISQLException provides
some or all of the following information:
| Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
| Constructor Summary | |
BISQLException(Locale locale)
Constructs a BISQLException object with no parameter. |
|
BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
int vendorCode,
Object[] args,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
Object[] args,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
Object[] args)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
Object[] args,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode,
Object[] args)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode,
Object[] args,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
Object[] args)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
Object[] args,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
String SQLState,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
String messageId,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Locale locale,
Throwable cause)
Constructs a BISQLException instance. |
|
BISQLException(Throwable cause)
Deprecated. |
|
| 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 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 java.sql.SQLException |
getErrorCode, getNextException, getSQLState, setNextException |
| 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 BISQLException(Locale locale)
BISQLException object with no parameter.locale - Locale for message
public BISQLException(Locale locale,
String messageId)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for message
public BISQLException(Locale locale,
String messageId,
String SQLState)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState string
public BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringvendorCode - vendor-specific error code
public BISQLException(Locale locale,
String messageId,
Object[] args)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageargs - arguments of the formatted message
public BISQLException(Locale locale,
String messageId,
String SQLState,
Object[] args)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringargs - arguments of the formatted message
public BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode,
Object[] args)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringvendorCode - vendor-specific error codeargs - arguments of the formatted messagepublic BISQLException(Throwable cause)
BISQLException instance.cause - the nested exception
public BISQLException(Locale locale,
Throwable cause)
BISQLException instance.locale - Locale for messagecause - the nested exception
public BISQLException(Locale locale,
String messageId,
Throwable cause)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messagecause - the nested exception
public BISQLException(Locale locale,
String messageId,
String SQLState,
Throwable cause)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringcause - the nested exception
public BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode,
Throwable cause)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringvendorCode - vendor-specific error codecause - the nested exception
public BISQLException(Locale locale,
String messageId,
Object[] args,
Throwable cause)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageargs - arguments of the formatted messagecause - the nested exception
public BISQLException(Locale locale,
String messageId,
String SQLState,
Object[] args,
Throwable cause)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringargs - arguments of the formatted messagecause - the nested exception
public BISQLException(Locale locale,
String messageId,
String SQLState,
int vendorCode,
Object[] args,
Throwable cause)
BISQLException instance.locale - Locale for messagemessageId - unique identifier for messageSQLState - XOPEN SQLState stringvendorCode - vendor-specific error codeargs - arguments of the formatted messagecause - the nested exception
public BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
BISQLException instance.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 nested exception
public BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
Throwable cause)
BISQLException instance.locale - Locale for messagecategory - category of the exceptionseverity - severity of the exceptionlocation - the location where this exception is thrownmessageId - unique ID of a given messageSQLState - XOPEN SQLState stringcause - the nested exception
public BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
int vendorCode,
Throwable cause)
BISQLException instance.locale - Locale for messagecategory - category of the exceptionseverity - severity of the exceptionlocation - the location where this exception is thrownmessageId - unique ID of a given messageSQLState - XOPEN SQLState stringvendorCode - vendor-specific error codecause - the nested exception
public BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
BISQLException instance.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 nested exception
public BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
Object[] args,
Throwable cause)
BISQLException instance.locale - Locale for messagecategory - category of the exceptionseverity - severity of the exceptionlocation - the location where this exception is thrownmessageId - unique ID of a given messageSQLState - XOPEN SQLState stringargs - arguments of the formatted messagecause - the nested exception
public BISQLException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
String SQLState,
int vendorCode,
Object[] args,
Throwable cause)
BISQLException instance.locale - Locale for messagecategory - category of the exceptionseverity - severity of the exceptionlocation - the location where this exception is thrownmessageId - unique ID of a given messageSQLState - XOPEN SQLState stringvendorCode - vendor-specific error codeargs - arguments of the formatted messagecause - the nested exception| Method Detail |
public String getLocalizedMessage()
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.IBaseException
public String getLocalizedMessage(Locale loc,
TimeZone timeZone)
getLocalizedMessage in interface com.sap.exception.IBaseException
public void finallyLocalize(Locale loc,
TimeZone timeZone)
LocalizableText message (if there is one attached).finallyLocalize in interface com.sap.exception.IBaseExceptionpublic String getNestedStackTraceString()
BaseExceptionInfo instance.getNestedStackTraceString in interface com.sap.exception.IBaseExceptionpublic String getSystemStackTraceString()
getSystemStackTraceString in interface com.sap.exception.IBaseExceptionpublic Throwable initCause(Throwable arg0)
initCause in interface com.sap.exception.IBaseExceptionpublic Throwable getCause()
getCause in interface com.sap.exception.IBaseExceptionpublic String getMessage()
getMessage in class Throwablepublic String getLocalizedMessage(Locale arg0)
getLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic String getLocalizedMessage(TimeZone arg0)
getLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic String getNestedLocalizedMessage()
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic String getNestedLocalizedMessage(Locale arg0)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic String getNestedLocalizedMessage(TimeZone arg0)
getNestedLocalizedMessage in interface com.sap.exception.IBaseException
public String getNestedLocalizedMessage(Locale arg0,
TimeZone arg1)
getNestedLocalizedMessage in interface com.sap.exception.IBaseExceptionpublic void finallyLocalize()
LocalizableText message
(if there is one attached).finallyLocalize in interface com.sap.exception.IBaseExceptionpublic void finallyLocalize(Locale arg0)
LocalizableText message
(if there is one attached) with the specified locale information.finallyLocalize in interface com.sap.exception.IBaseExceptionpublic void finallyLocalize(TimeZone arg0)
LocalizableText message
(if there is one attached) with the specified time zone information.finallyLocalize in interface com.sap.exception.IBaseExceptionpublic String getStackTraceString()
getStackTraceString in interface com.sap.exception.IBaseException
public void setLogSettings(com.sap.tc.logging.Category arg0,
int arg1,
com.sap.tc.logging.Location arg2)
setLogSettings in interface com.sap.exception.IBaseExceptionpublic void log()
log in interface com.sap.exception.IBaseExceptionpublic 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 | |||||||