public class RoomException extends IncompleteOperationException
DONT_LOG, LOG
Constructor and Description |
---|
RoomException(boolean log)
Deprecated.
|
RoomException(List aCausingThrowables,
boolean log) |
RoomException(List aCausingThrowables,
String text,
boolean log) |
RoomException(String text,
boolean log)
constructs a new BaseException.
|
RoomException(Throwable aCausingThrowable,
boolean log)
Deprecated.
|
RoomException(Throwable aCausingThrowable,
String text,
boolean log)
constructs a new BaseException.
|
Modifier and Type | Method and Description |
---|---|
void |
addThrowable(Throwable t) |
void |
addThrowables(List t) |
String |
getLocalizedMessage() |
List |
getLocalizedMessages() |
String |
getMessage()
returns an error message formated with the logging locale
|
String |
getMessage(Locale locale)
returns a locale specific short error message.
|
List |
getMessages(Locale locale) |
List |
getThrowables()
Get list of throwables
|
getMessages, getPartiallyComputedResult, printStackTrace, printStackTrace
getCausingThrowable, getRootThrowable, getText, isLogged, logException, printStackTrace
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public RoomException(boolean log)
log
- true, if exception should be loggedpublic RoomException(String text, boolean log)
text
- the Text of the Exceptionlog
- true, if exception should be loggedpublic RoomException(Throwable aCausingThrowable, String text, boolean log)
aCausingThrowable
- causing throwable for exception chaining, of null if there is
no causing exceptiontext
- the Text of the Exceptionlog
- true, if exception should be loggedpublic RoomException(Throwable aCausingThrowable, boolean log)
aCausingThrowable
- causing throwable for exception chaining, of null if there is
no causing exceptionlog
- true, if exception should be loggedpublic RoomException(List aCausingThrowables, boolean log)
public void addThrowable(Throwable t)
public void addThrowables(List t)
public List getThrowables()
getThrowables
in class IncompleteOperationException
public String getMessage()
BaseException
getMessage
in interface IBaseException
getMessage
in class BaseException
public String getMessage(Locale locale)
BaseException
getMessage
in interface IBaseException
getMessage
in class BaseException
locale
- the locale for the messagepublic String getLocalizedMessage()
getLocalizedMessage
in class Throwable
public List getLocalizedMessages()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-COLL
|
[sap.com] tc/kmc/coll/room
|
api
|
EP-KM-CRS
|
Copyright 2018 SAP AG Complete Copyright Notice