Class BORuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
-
- de.hybris.platform.sap.core.bol.businessobject.BORuntimeException
-
- All Implemented Interfaces:
MessageListHolder,java.io.Serializable
- Direct Known Subclasses:
BackendDeterminationRuntimeException,CommunicationRuntimeException
public class BORuntimeException extends CoreBaseRuntimeException
TheBORuntimeExceptionis the base class for bo related runtime exceptions.
Don't catch this Exception except in the action layer because it represents an error in the implementation and not the underlying backend system.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
messageList
-
Fields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID
-
-
Constructor Summary
Constructors Constructor Description BORuntimeException()Creates a new exception without any message.BORuntimeException(java.lang.String msg)Creates a new exception with a given message.BORuntimeException(java.lang.String msg, java.lang.Throwable rootCause)Standard constructor for BORuntimeException using a simple message text.
-
Method Summary
-
Methods inherited from class de.hybris.platform.sap.core.common.exceptions.CoreBaseRuntimeException
addMessage, clearMessages, getMessageList
-
-
-
-
Constructor Detail
-
BORuntimeException
public BORuntimeException()
Creates a new exception without any message.
-
BORuntimeException
public BORuntimeException(java.lang.String msg)
Creates a new exception with a given message.- Parameters:
msg- Message to give further information about the exception
-
BORuntimeException
public BORuntimeException(java.lang.String msg, java.lang.Throwable rootCause)Standard constructor for BORuntimeException using a simple message text.- Parameters:
msg- message text.rootCause- exception which causes the exception
-
-