public interface IBaseException
Copyright: Copyright (c) 2002 Company: SAP Portals
Modifier and Type | Field and Description |
---|---|
static boolean |
DONT_LOG
constant for not logging the exception
|
static boolean |
LOG
constant for logging the exception
|
Modifier and Type | Method and Description |
---|---|
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
|
static final boolean LOG
static final boolean DONT_LOG
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
|
Copyright 2018 SAP AG Complete Copyright Notice