public class RoomPartException extends IncompleteOperationException
DONT_LOG, LOG
Constructor and Description |
---|
RoomPartException(boolean log)
Deprecated.
|
RoomPartException(List aCausingThrowables,
boolean log) |
RoomPartException(List aCausingThrowables,
String text,
boolean log) |
RoomPartException(String text,
boolean log)
constructs a new RoomPartCreationException.
|
RoomPartException(Throwable aCausingThrowable,
boolean log)
Deprecated.
|
RoomPartException(Throwable aCausingThrowable,
String text,
boolean log)
constructs a new RoomPartCreationException.
|
Modifier and Type | Method and Description |
---|---|
void |
addThrowable(Throwable t)
RoomPartCreationException acts as container for throwables
|
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 RoomPartException(boolean log)
log
- true, if exception should be loggedpublic RoomPartException(String text, boolean log)
text
- the Text of the Exceptionlog
- true, if exception should be loggedpublic RoomPartException(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 RoomPartException(Throwable aCausingThrowable, boolean log)
aCausingThrowable
- causing throwable for exception chaining, of null
if there is no causing exceptionlog
- true, if exception should be loggedpublic RoomPartException(List aCausingThrowables, boolean log)
public void addThrowable(Throwable t)
t
- throwable that will be added to the throwables listpublic 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