com.sap.ip.collaboration.room.api.Exceptions

Class RoomException

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.ip.collaboration.room.api.Exceptions.RoomException
All Implemented Interfaces:
IBaseException, Serializable
Direct Known Subclasses:
RoomCreationException, RoomDeletionException

public class RoomException
extends IncompleteOperationException

Class implementing an exception for common room exceptions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sap.ip.collaboration.core.api.util.exception.BaseException
DONT_LOG, LOG
 
Constructor Summary
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.
 
Method Summary
 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
 
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

RoomException

public RoomException(boolean log)
Deprecated. 

constructs a new BaseException.

Parameters:
log - true, if exception should be logged

RoomException

public RoomException(String text,
                     boolean log)
constructs a new BaseException.

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

RoomException

public RoomException(Throwable aCausingThrowable,
                     String text,
                     boolean log)
constructs a new BaseException.

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

RoomException

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

RoomException

public RoomException(Throwable aCausingThrowable,
                     boolean log)
Deprecated. 

constructs a new BaseException 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

RoomException

public RoomException(List aCausingThrowables,
                     boolean log)
Method Detail

addThrowable

public void addThrowable(Throwable 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