Class BusinessObjectException
- 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
-
- All Implemented Interfaces:
MessageListHolder,java.io.Serializable
- Direct Known Subclasses:
CommunicationException
public class BusinessObjectException extends CoreBaseException
TheBusinessObjectExceptionis thrown if something goes wrong in the business object layer.- 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 BusinessObjectException()Constructor.BusinessObjectException(java.lang.String msg)Constructor.BusinessObjectException(java.lang.String msg, Message message)Constructor.BusinessObjectException(java.lang.String msg, MessageList msgList)Constructor.BusinessObjectException(java.lang.String msg, java.lang.Throwable rootCause)Standard constructor for BusinessObjectException using a simple message text.
-
Method Summary
-
Methods inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseException
addMessage, clearMessages, getMessageList
-
-
-
-
Constructor Detail
-
BusinessObjectException
public BusinessObjectException(java.lang.String msg, java.lang.Throwable rootCause)Standard constructor for BusinessObjectException using a simple message text.- Parameters:
msg- message text.rootCause- exception which causes the exception
-
BusinessObjectException
public BusinessObjectException(java.lang.String msg, MessageList msgList)Constructor.- Parameters:
msg- Message for the ExceptionmsgList- List of the messages added to the exception
-
BusinessObjectException
public BusinessObjectException(java.lang.String msg, Message message)Constructor.- Parameters:
msg- Message for the Exceptionmessage- message added to the exception
-
BusinessObjectException
public BusinessObjectException(java.lang.String msg)
Constructor.- Parameters:
msg- Message for the Exception
-
BusinessObjectException
public BusinessObjectException()
Constructor.
-
-