|
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.metadata.CapabilityNotSupportedException | +--com.sap.ip.bi.sdk.exception.BICapabilityNotSupportedException
Thrown when a certain feature is not supported by a connector.
A wrapper for the exception
com.sapportals.connector.metadata.CapabilityNotSupportedException
.
Fields inherited from interface com.sap.exception.IBaseException |
audit, defaultLocale |
Constructor Summary | |
BICapabilityNotSupportedException(Locale locale)
Constructs a BICapabilityNotSupportedException object. |
|
BICapabilityNotSupportedException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Object[] args,
Throwable cause)
Constructs a BICapabilityNotSupportedException object
with log handling. |
|
BICapabilityNotSupportedException(Locale locale,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
String messageId,
Throwable cause)
Constructs a BICapabilityNotSupportedException object
with log handling. |
|
BICapabilityNotSupportedException(Locale locale,
String messageId)
Constructs a BICapabilityNotSupportedException object
with message ID. |
|
BICapabilityNotSupportedException(Locale locale,
String messageId,
Object[] args)
Constructs a BICapabilityNotSupportedException object
with message ID and arguments. |
|
BICapabilityNotSupportedException(Locale locale,
String messageId,
Object[] args,
Throwable cause)
Constructs a BICapabilityNotSupportedException object
with message ID, arguments, and original exception. |
|
BICapabilityNotSupportedException(Locale locale,
String messageId,
Throwable cause)
Constructs a BICapabilityNotSupportedException object
with message ID and original exception. |
|
BICapabilityNotSupportedException(Locale locale,
Throwable cause)
Constructs a BICapabilityNotSupportedException object
with original exception. |
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 category,
int severity,
com.sap.tc.logging.Location location)
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 BICapabilityNotSupportedException(Locale locale)
BICapabilityNotSupportedException
object.locale
- Locale for messagepublic BICapabilityNotSupportedException(Locale locale, Throwable cause)
BICapabilityNotSupportedException
object
with original exception.locale
- Locale for messagecause
- the original exception to nest in this exceptionpublic BICapabilityNotSupportedException(Locale locale, String messageId)
BICapabilityNotSupportedException
object
with message ID.locale
- Locale for messagemessageId
- unique ID of a given messageThrowable.Throwable(String)
public BICapabilityNotSupportedException(Locale locale, String messageId, Object[] args, Throwable cause)
BICapabilityNotSupportedException
object
with message ID, arguments, and original exception.locale
- Locale for messagemessageId
- unique ID of a given messageargs
- arguments of the formatted messagecause
- the original exception to nest in this exceptionpublic BICapabilityNotSupportedException(Locale locale, String messageId, Object[] args)
BICapabilityNotSupportedException
object
with message ID and arguments.locale
- Locale for messagemessageId
- unique ID of a given messageargs
- arguments of the formatted messagepublic BICapabilityNotSupportedException(Locale locale, String messageId, Throwable cause)
BICapabilityNotSupportedException
object
with message ID and original exception.locale
- Locale for messagemessageId
- unique ID of a given messagecause
- the original exception to nest in this exceptionpublic BICapabilityNotSupportedException(Locale locale, com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, String messageId, Throwable cause)
BICapabilityNotSupportedException
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 exceptionpublic BICapabilityNotSupportedException(Locale locale, com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location, String messageId, Object[] args, Throwable cause)
BICapabilityNotSupportedException
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 messagecause
- the original exception to nest in this exceptionMethod Detail |
public String getLocalizedMessage()
BaseExceptionInfo
instance.getLocalizedMessage
in interface com.sap.exception.IBaseException
getLocalizedMessage
in class Throwable
Throwable.getLocalizedMessage()
public com.sap.localization.LocalizableText getLocalizableMessage()
LocalizableText
class from BaseExceptionInfo
instance.getLocalizableMessage
in interface com.sap.exception.IBaseException
getLocalizableMessage
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.IBaseException
getLocalizedMessage
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.IBaseException
finallyLocalize
in class com.sapportals.connector.ConnectorException
public String getNestedStackTraceString()
BaseExceptionInfo
instance.getNestedStackTraceString
in interface com.sap.exception.IBaseException
getNestedStackTraceString
in class com.sapportals.connector.ConnectorException
public String getSystemStackTraceString()
getSystemStackTraceString
in interface com.sap.exception.IBaseException
getSystemStackTraceString
in class com.sapportals.connector.ConnectorException
public Throwable initCause(Throwable arg0)
initCause
in interface com.sap.exception.IBaseException
initCause
in class com.sapportals.connector.ConnectorException
public Throwable getCause()
getCause
in interface com.sap.exception.IBaseException
getCause
in class com.sapportals.connector.ConnectorException
public String getLocalizedMessage(Locale arg0)
getLocalizedMessage
in interface com.sap.exception.IBaseException
getLocalizedMessage
in class com.sapportals.connector.ConnectorException
public String getLocalizedMessage(TimeZone arg0)
getLocalizedMessage
in interface com.sap.exception.IBaseException
getLocalizedMessage
in class com.sapportals.connector.ConnectorException
public String getNestedLocalizedMessage()
getNestedLocalizedMessage
in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
in class com.sapportals.connector.ConnectorException
public String getNestedLocalizedMessage(Locale arg0)
getNestedLocalizedMessage
in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
in class com.sapportals.connector.ConnectorException
public String getNestedLocalizedMessage(TimeZone arg0)
getNestedLocalizedMessage
in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
in class com.sapportals.connector.ConnectorException
public String getNestedLocalizedMessage(Locale arg0, TimeZone arg1)
getNestedLocalizedMessage
in interface com.sap.exception.IBaseException
getNestedLocalizedMessage
in class com.sapportals.connector.ConnectorException
public void finallyLocalize()
LocalizableText
message
(if there is one attached).finallyLocalize
in interface com.sap.exception.IBaseException
finallyLocalize
in class com.sapportals.connector.ConnectorException
public void finallyLocalize(Locale arg0)
LocalizableText
message
(if there is one attached) with the specified locale information.finallyLocalize
in interface com.sap.exception.IBaseException
finallyLocalize
in class com.sapportals.connector.ConnectorException
public void finallyLocalize(TimeZone arg0)
LocalizableText
message
(if there is one attached) with the specified time zone information.finallyLocalize
in interface com.sap.exception.IBaseException
finallyLocalize
in class com.sapportals.connector.ConnectorException
public String getStackTraceString()
getStackTraceString
in interface com.sap.exception.IBaseException
getStackTraceString
in class com.sapportals.connector.ConnectorException
public void setLogSettings(com.sap.tc.logging.Category category, int severity, com.sap.tc.logging.Location location)
setLogSettings
in interface com.sap.exception.IBaseException
setLogSettings
in class com.sapportals.connector.ConnectorException
public void log()
log
in interface com.sap.exception.IBaseException
log
in class com.sapportals.connector.ConnectorException
public String getMessage()
getMessage
in class Throwable
Throwable.getMessage()
public void printStackTrace()
printStackTrace
in interface com.sap.exception.IBaseException
printStackTrace
in class Throwable
IBaseException.printStackTrace()
public void printStackTrace(PrintStream printStream)
printStackTrace
in interface com.sap.exception.IBaseException
printStackTrace
in class Throwable
IBaseException.printStackTrace(PrintStream)
public void printStackTrace(PrintWriter printWriter)
printStackTrace
in interface com.sap.exception.IBaseException
printStackTrace
in class Throwable
IBaseException.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 |