Class CommunicationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.hybris.platform.sap.core.common.exceptions.CoreBaseException
-
- de.hybris.platform.sap.core.bol.businessobject.BusinessObjectException
-
- de.hybris.platform.sap.core.bol.businessobject.CommunicationException
-
- All Implemented Interfaces:
MessageListHolder,java.io.Serializable
- Direct Known Subclasses:
LogonException,ServerStartupException,SystemFailureException
public class CommunicationException extends BusinessObjectException
TheCommunicationExceptionis thrown if something goes wrong with the backend communication.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseException
messageList
-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Constructor Summary
Constructors Constructor Description CommunicationException()Constructor.CommunicationException(java.lang.String msg)Constructor.CommunicationException(java.lang.String msg, Message message)Constructor.CommunicationException(java.lang.String msg, MessageList msgList)Constructor.CommunicationException(java.lang.String msg, Message message, java.lang.Throwable rootCause)Standard constructor for CommunicationException using a simple message text.CommunicationException(java.lang.String msg, java.lang.Throwable rootCause)Standard constructor for CommunicationException using a simple message text.
-
Method Summary
-
Methods inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseException
addMessage, clearMessages, getMessageList
-
-
-
-
Constructor Detail
-
CommunicationException
public CommunicationException(java.lang.String msg, MessageList msgList)Constructor.- Parameters:
msg- Message for the ExceptionmsgList- List of the messages added to the exception
-
CommunicationException
public CommunicationException(java.lang.String msg, Message message)Constructor.- Parameters:
msg- Message for the Exceptionmessage- message added to the exception
-
CommunicationException
public CommunicationException(java.lang.String msg)
Constructor.- Parameters:
msg- Message for the Exception
-
CommunicationException
public CommunicationException()
Constructor.
-
CommunicationException
public CommunicationException(java.lang.String msg, java.lang.Throwable rootCause)Standard constructor for CommunicationException using a simple message text.- Parameters:
msg- message text.rootCause- exception which causes the exception
-
CommunicationException
public CommunicationException(java.lang.String msg, Message message, java.lang.Throwable rootCause)Standard constructor for CommunicationException using a simple message text.- Parameters:
msg- message text.message-Messageobject.rootCause- exception which causes the exception
-
-