|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBaseException
Common interface for base exceptions with internationalizable error texts
Copyright: Copyright (c) 2002 Company: SAP Portals
| Field Summary | |
|---|---|
static boolean |
DONT_LOG
constant for not logging the exception |
static boolean |
LOG
constant for logging the exception |
| Method Summary | |
|---|---|
Throwable |
getCausingThrowable()
returns the causing throwable if there is one or null |
String |
getMessage()
returns an error message formated with the logging locale |
String |
getMessage(Locale locale)
returns a locale specific short error message. |
Throwable |
getRootThrowable()
returns the top most throwable in the exception chain. |
IText |
getText()
returns the text object representing the error message |
boolean |
isLogged()
checks, if the exception was already logged |
void |
logException()
logs the exception using a standard logger |
void |
printStackTrace()
printStackTrace method as on java.lang.Exception |
void |
printStackTrace(PrintStream stream)
printStackTrace method as on java.lang.Exception |
void |
printStackTrace(PrintWriter writer)
printStackTrace method as on java.lang.Exception |
| Field Detail |
|---|
static final boolean LOG
static final boolean DONT_LOG
| Method Detail |
|---|
void logException()
boolean isLogged()
String getMessage()
String getMessage(Locale locale)
locale - the locale for the messageIText getText()
void printStackTrace()
void printStackTrace(PrintStream stream)
stream - PrintStream for outputvoid printStackTrace(PrintWriter writer)
writer - PrintWriter for outputThrowable getCausingThrowable()
Throwable getRootThrowable()
this.
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/util
|
api
|
EP-KM-COL
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.31 (SP01) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||