com.sap.netweaver.coll.room.api.roomparts.exceptions

Class RoomPartException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.ip.collaboration.core.api.util.exception.BaseException
              extended by com.sap.ip.collaboration.core.api.util.exception.IncompleteOperationException
                  extended by com.sap.netweaver.coll.room.api.roomparts.exceptions.RoomPartException
All Implemented Interfaces:
IBaseException, Serializable

public class RoomPartException
extends IncompleteOperationException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException
DONT_LOG, LOG
 
Constructor Summary
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.
 
Method Summary
 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
 
Methods inherited from class com.sap.ip.collaboration.core.api.util.exception.IncompleteOperationException
getMessages, getPartiallyComputedResult, printStackTrace, printStackTrace
 
Methods inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException
getCausingThrowable, getRootThrowable, getText, isLogged, logException, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoomPartException

public RoomPartException(boolean log)
Deprecated. 

constructs a new RoomPartCreationException.

Parameters:
log - true, if exception should be logged

RoomPartException

public RoomPartException(String text,
                         boolean log)
constructs a new RoomPartCreationException.

Parameters:
text - the Text of the Exception
log - true, if exception should be logged

RoomPartException

public RoomPartException(Throwable aCausingThrowable,
                         String text,
                         boolean log)
constructs a new RoomPartCreationException.

Parameters:
aCausingThrowable - causing throwable for exception chaining, of null if there is no causing exception
text - the Text of the Exception
log - true, if exception should be logged

RoomPartException

public RoomPartException(List aCausingThrowables,
                         String text,
                         boolean log)

RoomPartException

public RoomPartException(Throwable aCausingThrowable,
                         boolean log)
Deprecated. 

constructs a new RoomPartCreationException with a causing throwable for exception chaining. The exception message is taken from the root exception.

Parameters:
aCausingThrowable - causing throwable for exception chaining, of null if there is no causing exception
log - true, if exception should be logged

RoomPartException

public RoomPartException(List aCausingThrowables,
                         boolean log)
Method Detail

addThrowable

public void addThrowable(Throwable t)
RoomPartCreationException acts as container for throwables

Parameters:
t -

addThrowables

public void addThrowables(List t)

getThrowables

public List getThrowables()
Get list of throwables

Overrides:
getThrowables in class IncompleteOperationException
Returns:
list of throwables

getMessage

public String getMessage()
Description copied from class: BaseException
returns an error message formated with the logging locale

Specified by:
getMessage in interface IBaseException
Overrides:
getMessage in class BaseException

getMessage

public String getMessage(Locale locale)
Description copied from class: BaseException
returns a locale specific short error message.

Specified by:
getMessage in interface IBaseException
Overrides:
getMessage in class BaseException
Parameters:
locale - the locale for the message

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable

getMessages

public List getMessages(Locale locale)

getLocalizedMessages

public List getLocalizedMessages()
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-COLL [sap.com] tc/kmc/coll/room api EP-KM-CRS


Copyright 2011 SAP AG Complete Copyright Notice